vBulletin Search Engine Optimization
|
This is a discussion on Why would I be getting these errors? within the General Discussion forums, part of the vBSEO SEO Plugin category; Hi all I just moved my forums from a subdirectory back to the domain root. I have a .htaccess file ...
| |||||||
|
#1
| |||
| |||
| Why would I be getting these errors?
Hi all I just moved my forums from a subdirectory back to the domain root. I have a .htaccess file where the forums used to be to redirect browsers back to the homepage and that seems to be working well. However, in my error logs (cpanel) I am now seeing a ton of these: Code: File does not exist: /home/*******/public_html/forums/ascf-sedans Oh, and of course the "ascf-sedans" part is just one example, the are a whole bunch of different ones. Any help appreciated. Cheers Bruce |
|
#2
| ||||
| ||||
|
You can do this to redirect all of the old traffic to the new URL: Changing Domains: Directing Old Site to the New Site with htaccess |
|
#3
| |||
| |||
|
Hi Micheal I tried putting what you have into my .htaccess and it results in this: [code] http://australianspeedway.com//home/******/public_html/forums [/quote] when attempting to browse to the old site root. |
|
#4
| ||||
| ||||
|
What code did you put in it exactly? Please note that that .htaccess should be in this directory: /home/******/public_html/forums |
|
#5
| |||
| |||
|
I copied and pasted the exact code from your post, changed domain.com to australianspeedway.com and saved. Something is dodgy it seems. I put what I had back in and it now goes to the dir root instead of the site root, you know "Parent Directory, cgi-bin" etc. This is what I put in Code: RewriteEngine On RewriteBase / RewriteRule ^forums/(.*)$ /$1 [R=301,NC,L] RewriteRule ^forums(.*)$ /$1 [R=301,NC,L] Bruce |
|
#6
| ||||
| ||||
|
What do you mean the dir root? What if you try something like: Code: RewriteEngine On RewriteBase / RewriteRule ^forums/(.*)$ http://www.yoursite.com/$1 [R=301,NC,L] RewriteRule ^forums(.*)$ http://www.yoursite.com/$1 [R=301,NC,L] |
|
#7
| |||
| |||
| Sorry, I meant it displays a listing of what is in the directory "forums" instead of redirecting to australianspeedway.com Quote:
Cheers Bruce |
|
#8
| |||
| |||
|
Nope, still shows a directory listing....
|
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Errors | kau | General Discussion | 3 | 09-25-2008 05:03 PM |
| SSL errors | CueBlip | Troubleshooting | 4 | 06-02-2008 12:46 PM |
| 404 Errors | RaceJunkie | Troubleshooting | 20 | 07-24-2007 01:33 AM |
| What to do About 500 Errors | sinjix_media | URL Rewrite Settings | 8 | 07-10-2007 05:25 PM |
| still getting errors | smack | Troubleshooting | 5 | 11-11-2006 12:25 PM |