♥kymation Posted June 11, 2005 Share Posted June 11, 2005 That's a permanent redirect. I've been told that the search engines have no problem with those. Regards Jim See my profile for a list of my addons and ways to get support. Link to comment Share on other sites More sharing options...
mpmeadows Posted July 3, 2005 Share Posted July 3, 2005 I used the index.php: <? header("Location: catalog/default.php"); ?> Does anyone know if this is bad for the search engines? I really dont want to have to do the dir move. I have html descriptions with pics, and every one would have to be changed. Len <{POST_SNAPBACK}> ----- = Hi Len, I did this too, but I get 404 trying to get to my admin. Any other file I should modify? TIA. Maria Link to comment Share on other sites More sharing options...
mpmeadows Posted July 3, 2005 Share Posted July 3, 2005 Never mind. I fixed it now. Link to comment Share on other sites More sharing options...
mpmeadows Posted July 3, 2005 Share Posted July 3, 2005 I had problems accessing my admin. So, I am doing the following now: My catalog is not under root I have an .htaccess in root, to which I added the line: DirectoryIndex default.php /catalog/default.php This will make www.myurl.com --> www.myurl.com/catalog It works fine and no problem with search engines, spiders, etc. Hope this helps someone else. Maria Link to comment Share on other sites More sharing options...
cipboy Posted February 21, 2008 Share Posted February 21, 2008 I had problems accessing my admin. So, I am doing the following now: My catalog is not under root I have an .htaccess in root, to which I added the line: DirectoryIndex default.php /catalog/default.php This will make www.myurl.com --> www.myurl.com/catalog It works fine and no problem with search engines, spiders, etc. Hope this helps someone else. Maria For the osc 2.2 rc2a the DirectoryIndex default.php /catalog/default.php must be modified and look like this: DirectoryIndex index.php /catalog/index.php this can be placed at the end of the existing rows within the .htaccess file (this is a file pleced in the root and is witout name in front of the dot just simply .htaccess If you don't have such a file just open notepad put the line mentiond above in it and save it - be sure to chose all files type NOT TEXT- without a name, just ".htaccess") Good luck! No others changes are needed! Save the file, upload it and u're done! Link to comment Share on other sites More sharing options...
kewldude_3001 Posted February 21, 2008 Share Posted February 21, 2008 lol, you found a thread that was started about 6 years ago and decided to answer it? Link to comment Share on other sites More sharing options...
jasonpham Posted April 8, 2008 Share Posted April 8, 2008 lol, you found a thread that was started about 6 years ago and decided to answer it? You can redirect to new page. Use Javascript, redirection. Example below. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>Quality Sunglasses, Clip-on, Polarized, Color Mirror, Night Driving, Computer, Shooting Lenses Eyewear</title> <script language="JavaScript"> urlstr="http://www.Polarized4U.com/index.php?screenwidth="+screen.width+"&screenheight="+screen.height;'>http://www.Polarized4U.com/index.php?screenwidth="+screen.width+"&screenheight="+screen.height; alert(urlstr); window.location.replace(urlstr); </SCRIPT> </head> <BODY> </BODY> </HTML> http://www.Polarized4U.com Link to comment Share on other sites More sharing options...
jasonpham Posted April 8, 2008 Share Posted April 8, 2008 quote name='jasonpham' date='Apr 8 2008, 09:49 PM' post='1232629'] You can redirect to new page. Use Javascript, redirection. Example below. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>Quality Sunglasses, Clip-on, Polarized, Color Mirror, Night Driving, Computer, Shooting Lenses Eyewear</title> <script language="JavaScript"> urlstr="http://www.Polarized4U.com/index.php?screenwidth="+screen.width+"&screenheight="+screen.height; alert(urlstr); window.location.replace(urlstr); </SCRIPT> </head> <BODY> </BODY> </HTML> http://www.Polarized4U.com Link to comment Share on other sites More sharing options...
Jack_mcs Posted April 8, 2008 Share Posted April 8, 2008 No, this should never be used for domain redirection like this. It is performed after the site is loaded in the brwoser so the search engines see it. It can cause the site to not be listed or even banned. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.