Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website and Server Administration Forum


You are currently viewing our Website and Server Administration Forum as a guest. Please register to participate.
Login



Reply
Moving Entire Site! htaccess, sitemaps and other issues.
Old 12-16-2009, 02:29 PM Moving Entire Site! htaccess, sitemaps and other issues.
Junior Talker

Posts: 4
Trades: 0
Hi all,

This is my first post here. I checked out a few webmaster-orientated forums before settling on this one.

Here is an overview of the task I am currently engaged in, as well as the current difficulties I am having. I hope that the community here can offer some practical assistance and maybe even moral support to prevent me from banging my head off of the wall.

Task

- Moving domains with my 3-year old, self-hosted Wordpress blog.

So far this has gone rather smoothly. I copied the database and site across to the new domain, and the new site is in complete working order. Great.

Now all I need to do is redirect the old site to the new. Not as easy as it should be.

I set up a couple of test pages in order to redirect them to the site, just to see if it works. eg. example.com/test/ -> newexample.com/

For some reason or other these are having no impact whatsoever, and are not redirecting the page as they should be! I am fairly certain the redirects are formatted correctly and should work. But they don't!

I already have some fully functioning 301 redirects in my htaccess file which have been active and working for over a year, so I don't know why the new ones aren't working.


Thanks in advance for any input or advice,
dominoeffect is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 12-16-2009, 02:32 PM Re: Moving Entire Site! htaccess, sitemaps and other issues.
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,381
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
and what redirect are you using, and are the new and old hostnames on the same server?
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 12-16-2009, 02:58 PM Re: Moving Entire Site! htaccess, sitemaps and other issues.
Junior Talker

Posts: 4
Trades: 0
Hi,

Yes the two sites are both on the same server.

I tried two different tests using 301 redirects in my .htaccess file.

One like this...

Code:
RewriteCond %{HTTP_HOST} ^example.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.example.com$
RewriteRule ^2008/04/behind-the-monacle/$ "http://newdomain.com/" [R=301,L]
And one like...

Code:
redirect 301 "2008/04/behind-the-monacle/"  http://newdomain.com
dominoeffect is offline
Reply With Quote
View Public Profile
 
Old 12-16-2009, 03:02 PM Re: Moving Entire Site! htaccess, sitemaps and other issues.
Banned

Posts: 421
Location: Boston, MA
Trades: 1
Why just 2008/04, why not all the pages?
webcosmo is offline
Reply With Quote
View Public Profile Visit webcosmo's homepage!
 
Old 12-16-2009, 03:24 PM Re: Moving Entire Site! htaccess, sitemaps and other issues.
Junior Talker

Posts: 4
Trades: 0
Because this was just a test, to make sure redirects were working ok, before I moved the whole site.

Thanks,
dominoeffect is offline
Reply With Quote
View Public Profile
 
Old 12-16-2009, 05:22 PM Re: Moving Entire Site! htaccess, sitemaps and other issues.
Junior Talker

Posts: 4
Trades: 0
Interesting... I've just tried out a few 'redirect checkers' such as

http://www.webconfs.com/redirect-check.php
http://www.internetofficer.com/seo-tool/redirect-check/

and they are reporting that no redirect is exists for the url, even though it is 100% present in my .htaccess file.

I'm going to speak to my web host, although this is most strange. I've ran my preexisting redirects through the checker and they all show up as they should.
dominoeffect is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Moving Entire Site! htaccess, sitemaps and other issues.
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.10484 seconds with 12 queries