Welcome to WebmasterWorld Guest from

Forum Moderators: ergophobe

Message Too Old, No Replies

Joomla and htaccess



9:40 am on Jan 14, 2014 (gmt 0)

5+ Year Member

I am have website which is developed with joomla and I am considering creating a new one from scratch once joomla 3.5 comes out.

I had a major cms bug about a year ago when google indexed page that were not existing on my website ( pages that look like that : )


I did give a 410 to those pages and there are almost all removed from the index.

My question is will I still need to leave my htaccess and 410 with the new site in order to make sure they don't reappear or can I remove the ht access and not worry about it.


7:42 pm on Jan 14, 2014 (gmt 0)

WebmasterWorld Senior Member lucy24 is a WebmasterWorld Top Contributor of All Time Top Contributors Of The Month

Don't take chances. Once you've set up a 410 or a 301, leave it there forever. The day after you delete a 301/410, google will dig up its Forgotten URLs list and request the page.

At the same time, you should test the new system thoroughly to make sure any bogus URLs result in a 404. It doesn't matter what the (human) user sees, so long as a 404 response is returned. It is better to find this out ahead of time by experiment than to find out after-the-fact that search engines have been requesting and indexing nonexistent URLs. See if you can tweak your CMS so that any content returned with a 404 response includes a <noindex> tag. (This may not be mechanically possible.)

It isn't clear from your post whether the new site will be at a new hostname, or simply a major redesign.

As it happens, I moved recently. Along with the redirects, I did the following. All of them happen before the generic old-to-new redirect.

--all existing 410s continue to be served at the old hostname
--all existing 301 redirects remain in place at the old hostname, changing only the hostname of the target
--any changes made after the move are duplicated in htaccess, with matching redirects issued from both old and new hostnames. (I mean, of course, for URLs that existed at the old name and would otherwise be subject to generic redirect.)

Featured Threads

Hot Threads This Week

Hot Threads This Month