A URL rewrite engine is software that modifies a web URL's appearance (URL rewriting). Rewritten URLs (sometimes known as short, fancy URLs, or search engine friendly - SEF) are used to provide shorter and more relevant-looking links to web pages. The technique adds a degree of separation between ...

learn more… | top users | synonyms (1)

2
votes
1answer
227 views

do we have to add/remove a trailing slash for pagination page numbers in the url. how seo considers that?

My module is paginated. I want to either add a trailing slash or remove a trailing slash. For now i am thinking of adding a trailing slashes to all URLS. What will be the effect on adding a trailing ...
-1
votes
2answers
2k views

Having trouble redirecting old product sites and categories to new pages

I recently upgraded a shopsystem to prestashop and imported the previous products (~1200), and I managed to keep the old category_id and product_id. I'm trying to set up those 2 rules to redirect all ...
7
votes
1answer
269 views

Apache rewrite rules for development workstation and server

I've got developers editing pages for several sites on a WAMP stack and then uploading to the public servers running LAMP stacks. We're pretty happy with it, but we have this minor annoyance: we can't ...
1
vote
3answers
6k views

How do I do URL re-writes on Plesk?

I am very new to URL re-writing and I am using Plesk which is window-based web server, hence I can't use Apache's mod_Rewrite. Can anyone tell me what is the proper procedure for this?
3
votes
2answers
112 views

Site-wide redirect with Tomcat4

Disclaimer: My webmastering experience is almost nil. Apologies if anything seems ignorant - if it sounds that way, it probably is. My employer is in the middle of switching over from one version of ...
0
votes
1answer
1k views

How can I fix an Apache redirect loop

I have a strange Apache/WordPress redirect loop that I can't seem to figure out. Here is the relevant logs and other info: http://pastebin.com/E1afW2vw It seems that the page request gets made, and ...
2
votes
1answer
16k views

Apache: Virtual Host and .htacess for URL Rewriting not working

I have configured a virtual host in my local machine and every thing is working fine. Now I want to use SEO friendly urls. To achieve this I have used the .htaccess file. My virtual host ...
1
vote
1answer
578 views

Decode url in httpd.conf or htaccess

For some reason I am getting 404 errors in my log file because of users trying to access something like http ://www.domain.tld%3Fid%3D222 instead of http://www.domain.tld?id=222 I've unsuccessfully ...
2
votes
2answers
83 views

URL re-write for indexed pages [duplicate]

I have a blog with around 40 posts, and i want to change the URL structure these posts. this is my old URL something like: http://domain.com/blog/2013/02/04/string-here.html i want to set the URL ...
1
vote
1answer
79 views

My WordPress site must be being affected by outside sources

Some of my pages are resulting in 310 errors (too many redirects). We recently switched domains from kgstiles.com to healthmasterysystems.com then discovered healthmasterysystems.com was listed as not ...
3
votes
2answers
1k views

Is it bad to use Japanese characters in search-friendly URLs?

I'm new to SEO and I'm implementing SEO-friendly URLs in my site. The code works perfectly, however I would like to know if using Japanese characters (Kanji / Hiragana / Katakana) in the URL affects ...
5
votes
1answer
6k views

How can I use .htaccess to rewrite different domains to different sub-directories, masking the sub-directory?

I have a shared hosting plan that allows unlimited addon domains, but they can only point to the public root (/). I use .htaccess to point different domains to their corresponding sub-directories. For ...
4
votes
4answers
1k views

htaccess 301 redirect help needed(removing GET parameters)

Due to some issues in my site many pages are visible as duplicate using : www.example.com/page.html?task=view but it's content is exactly same as www.example.com/page.html. One way is to use http 301 ...
2
votes
1answer
432 views

How do I use htaccess to make a short URL to a MediaWiki page?

I'd like to rewrite /liam to /index.php/Liam_Edwards-Playne. I've currently written this below in the appropriate .htaccess file but it is still returning a 404: RewriteEngine On RewriteRule ^/liam$ ...
1
vote
1answer
44 views

Changing uri-design SEO

I think I need to redesign my uri-collections of my site. Right now I am using the following structure by a mistake: /fruits for the whole collection /fruit/banana for an item in the collection ...
2
votes
1answer
4k views

how to rewrite %20 in .htaccess

I need to perform an equivalent rewrite to: RewriteRule ^/this%20file.pdf http://www.example.com/ How do I handle the %20? I have tried RewriteRule ^/this\%20file.pdf http://www.example.com/ ...
2
votes
1answer
226 views

How does Google handle “clean” URLs is the URL is always changing due to edits?

So, since some "clean" URL system pull the wording directly from content I was wondering how Google handles this? Here's an example of content changes changing the URLs: Version 1 of the Title: ...
0
votes
2answers
873 views

Avoid SEO loss after URL structure change

We recently re-wrote our site from Umbraco to WordPress. This has been done by third-party developers. I have been the project manager and it is my mistake that I haven't notice the change of URLs ...
1
vote
2answers
283 views

How do I redirect www and non but not IP

I am trying to redirect www.domain.com or domain.com to www.domain.com/temp.html I am using the following code: RewriteCond %{HTTP_HOST} ^.*$ RewriteRule ^/?$ ...
3
votes
1answer
2k views

How do I use IIS7 rewrite to redirect requests for (HTTP or HTTPS):// (www or no-www) .domainaliases.ext to HTTPS://maindomain.ext

I have multiple domain names assigned to the same site and I want all possible access combinations redirected to one domain. In other words whether the visitor uses http://domainalias.ext or ...
3
votes
1answer
261 views

URL rewriting via forward proxy

I have an app that runs inside my firewall and talks out to multiple end points via HTTP/HTTPS on a non-standard port e.g. http://endpoint1.domain.com:7171, http://endpoint2.domain.com:7171 What I ...
5
votes
3answers
18k views

How to remove trailing slashes from URL with .htaccess?

The situation Across the entire domain, we'd like the URLs to hide file extensions and remove trailing slashes, independent of the domain name itself (as in, works on any domain). Sample of our ...
3
votes
1answer
671 views

Wild card redirect in htaccess giving error this webpage has a redirect loop

In my website I changed the directory name "vehicles-cars" to "vehicles-cars-for-sale". When I tried to redirect using a wild card redirect from my old directory name to new directory name in my web ...
2
votes
1answer
1k views

Google on capital letters in url

I created one of my websites with the following url structure: http://domain.com/Animal/Pig http://domain.com/Pigs If I change the url map to lower case letters instead, will google reindex those ...
4
votes
2answers
2k views

Best SEO practices for mobile URLs: 301, rel=canonical, or something else?

I am developing a site with a mobile version and am trying to figure the appropriate way to manage the URLs for search engines. So far I've considered: Having a separate mobile site (m.example.com) ...
1
vote
1answer
139 views

Apache URL Rewrite

I'm trying and failing to get a URL rewrite working, firstly I'm doing it in the vhost declaration, is that right? What I'm trying to do is take any URL which has; view.php?id=[a 1 or multidigit ...
1
vote
2answers
2k views

Using ending .html for URL re-write?

For re-writing URLs to generate SEO friendly pretty URLs, it was usually recommended to use the ending extension (normally .html), as without the extension, the URL seems to be incomplete. Probably, ...
0
votes
2answers
2k views

.htaccess rewrite www to non-www and remove .html

I need rewrite rules to redirect the following: http://www. to http:// /file.html to /file I've tried using a combination of these but each time it results in a redirect loop on one of the ...
0
votes
1answer
74 views

rewrite url for articles with htaccess

I've had a look through several other questions to see if i could get this working but have had no success at all at the moment so i'm hoping someone can help. This is the url i currently have, ...
5
votes
5answers
779 views

URL for separate mobile site

I've had a look through this site and found several similar questions but none which address my current needs. Normally I create responsive sites but on occasion I will create a 'desktop' and a ...
2
votes
1answer
472 views

Htaccess - Rewrite png to php file

I currently use trans.png.php?id=1&campaign=test to track my newsletter campaigns. I want to use trans.png instead as it's the src of an img tag. How can i do this in htaccess? Also is there any ...
0
votes
1answer
93 views

Pretty URLs for dynamic links generated based on a 3rd party soap web service

We have a 3rd party web service which we interact with via Soap. In this regard we query the 3rd party for resources, construct a home page and all links generated on this index page are referencing ...
13
votes
4answers
621 views

How do I implement URL rewriting in my .htaccess file?

I'd like to do some URL rewriting (Why? See this question.) so that instead of users seeing addresses like labouseur.com/course-compilers.html they can instead see and use simply ...
0
votes
1answer
490 views

Help with URL and HTACCESS

I have a social engine 3 website, in my website all URLS can be changed(URL-REWRITING) through the SE-url settings automatically, but in my website their is one module which is custom coded, where I ...
3
votes
2answers
4k views

Removing .html and index.html from URL

I'm having some problems trying to Remove the .html extension from URLs Removing 'index.html' from an URL 1) To remove the extension I have tried using this in my htaccess file. RewriteEngine on ...
1
vote
1answer
652 views

Managing 404 error pages with noindex and url rewrite

Currently I use custom 404 error pages, having the following meta on them : <meta content="noindex" name="robots"> My guess is this way Google will remove deleted pages faster from the index, ...
1
vote
1answer
2k views

Where does one find syntax descriptions for IIS URL Rewrite condition input variables?

The need to understand what the variable represents and also perhaps examples of what it contains would be helpful. I've seen such postings for URL Rewrite of Apache in the documentation, but nothing ...
1
vote
1answer
5k views

URL Rewrite http to https EXCEPT files in a specific subfolder

I am trying to force all traffic on my web site to use HTTPS, using the URL Rewrite 2.0 module added to IIS 7.5. I got that working and now have a need to exclude a couple of pages from using SSL. So ...
0
votes
1answer
40 views

urlrewrite and search engines

I have a urlrewrite that rewrites my urls like mypage.aspx?id=123&title=mytitle into ...page/mytitle/123/ I'm trying to understand what are the pros / cons if any of having it like ...
2
votes
2answers
983 views

apache rewriting url doesn't work(using godaddy hosting)

I'm using a framework to create my website(codeigniter) by default the urls are like this:mysite.com/index.php?/etc/etc/etc. And I'm trying to remove the index.php?, I tried to remove it by doing ...
1
vote
1answer
460 views

URL Rewrite for SSL

I have SSL configured for a cart directory in my website. I'm having a very difficult time trying to configure SSL for a different directory within the same website. I ask the question on SO, and was ...
4
votes
2answers
571 views

Redirecting URLs when launching a new website - how to avoid dropping page rank

i have over 100 urls in my website which i need to redirect: E.g. /page/how-to-bake-chocolate-cookies/ will redirect to /cookies/how-to-bake-chocolate-cookies/ /page/contact/ will redirect to ...
2
votes
1answer
331 views

DNS name/host-header specific url-pattern/security-constraint, to not require SSL with Tomcat6

I am needing to enable SSL on an application hosted through Tomcat6 and I have added the following to the tomcat web.xml: <security-constraint> <web-resource-collection> ...
2
votes
2answers
503 views

Apache Rewrites not working due to Akamai

I have a website which is setup with akamai. My domain and subdomains are mapped onto an Akamai IP. I have written an Apache rewrite which does an internal URL X to another internal URL Y. This ...
1
vote
1answer
848 views

Are urls with ?page=something bad for SEO? [duplicate]

Possible Duplicate: Is a URL with a query string better or worse for SEO then one without one? I have a listing of members on my homepage. My dynamic urls are quite simple: ...
3
votes
1answer
99 views

Can Google Index Rewriten URLs?

Can Google index rewriten URLs? I mean, if I have the link <a href="http://mydomain.com/document">Grab the document!</a> and if I instruct Apache to rewrite http://mydomain.com/document ...
2
votes
1answer
957 views

In IIS what is the difference between rewrite rules managed by URL Rewrite Module versus those only in web.config?

In IIS what is the difference between rewrite rules managed by URL Rewrite Module versus those which are only in the web.config file and do not appear in the URL Rewrite Module? Using the URL Rewrite ...
0
votes
2answers
49 views

Moving a site that was already moved - how should I deal with rewrites and redirects?

I have a site that used to have all of its pages hosted on a single domain (e.g. mydomain.com). At some point, a portion of the site's content was moved to another domain and the folks who did the ...
1
vote
0answers
33 views

SEO/performance - building blog article page [duplicate]

Possible Duplicate: What are the best ways to increase your site's position in Google? I've been using WP up and until now, but want to spread my wings and build a bespoke blog for my ...
3
votes
1answer
176 views

Looking for a step by step guide to URL re-writing with mod_rewrite and other methods

I'm looking for step by step resource about how to rewrite URLs and have a few specific questions. I've read the documentation on mod_rewrite in Apache, but I still find myself a little lost. If ...