Member Avatar
Hi, I am trying to write a .htaccess script that can redirect any URL on my site (whether it exists or not, including sub-domains) to the index page of that site. For example: example.com/pages/page.htm ---> example.com sub.example.com/page.htm ---> example.com error.example.com/error ---> example.com I've tried a few things with mod_rewrite but …
by martinkorner in Web Development ()
Member Avatar
I moved my old site to the new domain and have parked the old site over the new domain. Any ideas how to do the proper 301 redirect so the old site redirects each page to the new site. So: Redirect to: So far I just have: Options +FollowSymLinks RewriteEngine …
by chaze in Search Engine Strategies ()
Member Avatar
Hi folks, I've recently got into doing a bit of web development and got hosting for it. The website is consisted of mainly 3 separate folders(one for home page, 2 for 2subdomains) under the html root directory to avoid cluttering. To get to my home page on my main domain, …
by yxBen in Web Development ()
Member Avatar
Hi I have 4 affiliate sites that are all in the same niche and I have bought the domain names mainly because they are frequently searched for terms in google. However to update all four daily would take more time than I have, so I am considering doing a 301 …
by gilgil2 in Search Engine Strategies ()
Member Avatar
So a client of mine has about 150 domain names, all of them he is wanting to redirect to the primary domain name. I have done something like this for each domain name in the .htaccess file: Now this works if you are in the root index (home page). As …
by AmieCutie in Web Development ()
Member Avatar
I have a server which is hosting just a single site and because of this, I intend to redirect all traffic from domains which isn't mine to my domain. For example, if a random person decides for some reason to point their domain to my server, when my server gets …
by Borzoi 24 in Web Development ()
Member Avatar
Hello, I am having a bit of trouble using 301 redirects. I have used the following format, successfully, on many occasions (putting the following code in the .htaccess file and loading into the directory of the domain I wish to redirect): "redirect 301 /oldpage.html " The problem is that the …
by TealList in UI / UX Design ()
Member Avatar
I'm trying to redirect about 40 web addresses from an old site to a new site. I was able to redirect all of the pages that DO NOT have a ".aspx" in them to the new site using .htaccess but I cannot figure out how to redirect the .aspx links. …
by darrinkeller in Web Development ()
Member Avatar
We have permalinks for each individual post in the forum in the format . These URLs do a 301 redirect to the post in the full article, such as . The landing pages have canonical URLs set to the full article URLs. I just recently started having the issue of …
by Dani 1,404 in Search Engine Strategies ()
Member Avatar
Hello, I have decided to move away from my current web designer and host and go with Word Press and a completely new web host. I am going to use a new brand specific domain name (my company name) instead of my current keyword domain. I want to work on …
by wisedave in Search Engine Strategies ()
Member Avatar
Hi We are moving from one shopping cart to new one. we have about 4500 product links. is there anyway to make a general to move domian.com to domain.com/search/q=1234-111 I don't really care about the -1111 (last 4) is there anyway to make this dynamic so I don't have to …
by andy106 in Linux and Unix ()
Member Avatar
Hi We have moved our site with a new system with a new structure. the domain is the same just structural changes, and I cant seem to get the htaccess right. Here is what i am trying to accomplish: move this: to: we have over 5000 links so I was …
by andy106 in Linux and Unix ()
Member Avatar
Hi, I'm on an Apache server. I'm trying to create a permanent redirect of an entire website to a single page on the new site. I'm using this: Redirect 301 / Redirect 301 /links.php The first line works fine for the index.php page of the site. The second line is …
by arooney in Search Engine Strategies ()
Member Avatar
I have page1.html that is being 302 redirected (temporary redirect) to page2.html page2.html is disallowed in my robots.txt file Under normal circumstances, when googlebot encounters a 301 redirect from page1.html to page2.html, it will index page2.html, and when googlebot encounters a 302 redirect from page1.html to page2.html, it will index …
by Dani 1,404 in Search Engine Strategies ()
Member Avatar
Hello all, How would I go about getting my site to redirect any visitor to rather than I have searched the forums here and have tried various coding people have provided but none of it seems to work. Could someone maybe post a step by step guide on how to …
by Borzoi 24 in UI / UX Design ()
Member Avatar
Hi everyone, I have designed my website from 6000 static HTML pages to a more structured system. However I am not carrying over same structure so I will need to setup a bunch of 301 permanent redirects in order to keep my search rankings. (have spent a lot of money …
by andy106 in Web Development ()
Member Avatar
Rebuilt an existing site: Old site used aspx pages, for example: (broken) New site is in Joomla; new link is: I tried a 301 redirect in .htaccess file but cld not get it to work. I need a solution to redirect links to new pages and/or at least get them …
by jhellein in UI / UX Design ()
Member Avatar
hello everyone. im using a cms and i have just changed the strucutre of my site's url making changes in the core files. here is an example what i have done. at first urls were: now they are chagned to : art/gallery/picture-name everything seems to be working fine. i also …
by wickedsunny in Web Development ()