May 21, 2012, 06:44:56 PM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: Mobile users - Our forum is Tapatalk enabled.
http://www.tapatalk.com/
Home
Help
Search
Login
Register
DotDragnet
>
The Tech Side
>
Tech stuff
>
.htaccess working?
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: .htaccess working? (Read 2191 times)
Jeep Stone
Hero Member
Posts: 908
.htaccess working?
«
on:
January 09, 2008, 03:52:44 PM »
I want to direct a site from one domain to another .co.uk to a .com
I've got an .htaccess file with the following:
Redirect 301 /
http://www.bloomsofbressingham.co.uk/
It's uploaded successfully, but has no effect. There is nothing else in the file. What could I have missed?
Logged
Jeepstone
suedenem
Sr. Member
Posts: 409
Re: .htaccess working?
«
Reply #1 on:
January 09, 2008, 04:15:59 PM »
.htaccess is an apache thing - looks like this site is running on IIS:
http://toolbar.netcraft.com/site_report?url=http://www.bloomsofbressingham.co.uk
You'll have to go through the site config to set up redirects, etc.
Logged
So this SEO copywriter walks into a bar, grill, pub, public house, Irish bar, bartender, drinks, beer, wine, liquor...
Beware my weird, cross-dressing comment's; they are pretty standard examples of trolling.
Jeep Stone
Hero Member
Posts: 908
Re: .htaccess working?
«
Reply #2 on:
January 09, 2008, 04:31:05 PM »
hmmm the .co.uk site is asp but the .com site is php.
«
Last Edit: January 09, 2008, 04:33:57 PM by Jeep Stone
»
Logged
Jeepstone
suedenem
Sr. Member
Posts: 409
Re: .htaccess working?
«
Reply #3 on:
January 09, 2008, 04:42:19 PM »
Don't forget that PHP can run perfectly well on IIS and ASP (of sorts) can run on Apache (albeit as ChilliASP, buggy as hell and infuriatingly slow).
Don't always assume Apache is running just because PHP is installed.
Logged
So this SEO copywriter walks into a bar, grill, pub, public house, Irish bar, bartender, drinks, beer, wine, liquor...
Beware my weird, cross-dressing comment's; they are pretty standard examples of trolling.
Jeep Stone
Hero Member
Posts: 908
Re: .htaccess working?
«
Reply #4 on:
January 09, 2008, 05:25:05 PM »
Nah, it's def an Apache server
I've done a redirect from 123reg, but it supposedly takes 24 as they do it via DNS.
Logged
Jeepstone
AndrewShanklin
Newbie
Posts: 23
Re: .htaccess working?
«
Reply #5 on:
January 09, 2008, 06:17:03 PM »
Jeep, you are right it is an Apache server....
If you have access to it, you need to open up your server httpd.conf file and enable the use of .htaccess files.
Then save the file and restart the server to allow the changes to take affect.
If this is a shared server and you are not the administrator you will need to contact your hosting company and ask them to do it.
Andy.
Logged
Jeep Stone
Hero Member
Posts: 908
Re: .htaccess working?
«
Reply #6 on:
January 10, 2008, 09:48:14 AM »
This is a dedicated server with Fasthosts
I'll have a dig around on the server for it.
Edit: Looks like Fasthosts don't support .htaccess for anything other than security. How ironic and also utterly useless.
«
Last Edit: January 10, 2008, 10:08:52 AM by Jeep Stone
»
Logged
Jeepstone
AndrewShanklin
Newbie
Posts: 23
Re: .htaccess working?
«
Reply #7 on:
January 10, 2008, 10:48:14 AM »
It should be located:
/etc/httpd/conf/httpd.conf
If they dont support .htaccess for anything other than security (which sounds odd)...
You can setup a 301 redirect in the httpd.conf file.
Andy.
Logged
Jeep Stone
Hero Member
Posts: 908
Re: .htaccess working?
«
Reply #8 on:
January 10, 2008, 01:11:25 PM »
I've had confirmation that they DO support it, but they have no idea why it's not working. Thanks Andrew, I'll take a butcher's at that.
Logged
Jeepstone
Pages: [
1
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> General Discussion
=> Jee's Forum of Appalling Jokes
-----------------------------
The Creative Side
-----------------------------
=> Arty stuff
=> Photography
=> On the web
-----------------------------
The Tech Side
-----------------------------
=> Tech stuff
=> Hardware & Software
-----------------------------
The Business Side
-----------------------------
=> Anything business related
-----------------------------
The Practical Side
-----------------------------
=> Practical Advice
DotDragnet
>
The Tech Side
>
Tech stuff
>
.htaccess working?
Loading...