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)

0
votes
0answers
376 views

What's wrong with this redirect rule set? (IIS7)

I use IIS7, and say for example my site's URL is: http://example.com Here is what I am trying to accomplish: All web pages go to WWW version. All HTTPS pages redirect to HTTP protocol except for ...
3
votes
1answer
280 views

Naked domain to “www” redirect in Windows Server 2008

I have a Windows server. I have several websites hosted on my server. Currently, I can only visit these websites if I include "www" (e.g., www.techtint.com). I want the naked form of the URL to ...
0
votes
1answer
113 views

Is there an API or programmatic way to convert “.htaccess” rewrites to “web.config” IIS Rewrites?

I know I can do it in IIS Manager, but I am looking for some programmatic way to do it. We need to do this for customer all the time. So it would be great if there's a programmatic way of doing so.
1
vote
1answer
2k views

IIS 7 URL Rewrite Rule using query string variable

Trying to create a URL Rewrite rule for IIS 7.5 to read the query string parameter and redirect requests to a new URL structure - for example: http://www.example.com/people/profile.aspx?dw to a new ...
1
vote
1answer
1k views

.htaccess redirect of domain name alias to main domain but must show up as the alias domain

I have the following in a .htaccess file: RewriteCond %{HTTP_HOST} ^www\.aliasdomain\.com$ [OR] RewriteCond %{HTTP_HOST} ^aliasdomain\.com$ RewriteRule ^(.*)$ ...
0
votes
1answer
111 views

Removing “Dirty URLs”

I have a site that apparently has "dirty URLs". For example a URL that I have goes something like this: www.website.com/article?articleID=2 or something along the lines of that. This, to me, seems to ...
1
vote
1answer
523 views

URL Rewrite in IIS 7.5

I have a web site (hosted on IIS 7.5) that has bindings to four URLs. Something like: www.example.com example.com www.example.net example.net What I would like to accomplish using URL Rewrite is ...
1
vote
2answers
115 views

One .htaccess file with rewrite rules for all domains

Our server is configured with multiple domains which reside in subfolders of the public_html folder. So domain1.com is located in /home/user/public_html/domain1.com and domain2.com is located in ...
2
votes
2answers
110 views

Google adds useless parameters to my URL

I have recently added my website to Google, and I don't understand why he adds useless parameters to my URLs. Normal URL: build/view/2/akali/mid Google URL: build/view/2/akali/mid?role=adc ...
0
votes
0answers
11 views

Is single page website bad for SEO? [duplicate]

Suppose I have a website for a company which I want to SEO. Think of two scenarios: 1) There is only index.php, and for /about /contact sections I do it like this: index.php?what=about , ...
1
vote
2answers
108 views

Can I have tracking parameters immediately after a forward slash /?

I would like to start redirecting all /index.php pageviews to / to clean up GA data and otherwise simplify URL hits. Does anyone foresee this causing any problem when using tracking parameters? E.g. ...
0
votes
2answers
162 views

To Fix HTTP 400-499 error codes with 301 redirects in .htaccess file

This issue is on Wordpress site. I am aware we can change the URL naming convention in WP but i have changed my url format from date format to simple postname followed by slug as shown below. old ...
0
votes
0answers
15 views

Remove index.php from URL and still be able to POST [duplicate]

I am redirecting requests to index.php with .htaccess as follows: RewriteCond %{REQUEST_URI} index\.php RewriteRule ^(.*)index\.php$ /$1 [R=301,L] It works fine but the problem is forms are not ...
1
vote
1answer
81 views

What are the pro and cons of using friendly URLs compared to query parameters (and vice versa)? [duplicate]

I am noticing that more and more sites prefer using "friendly URLs" over adding information as query parameters. For example: domain.com/product/3343/ compared to ...
1
vote
0answers
73 views

How can I mask sub-directory to work as DocumentRoot for multiple domains pointing to the same location?

I am trying to mask sub directories to effectively work as DocumentRoot for multiple domains. e.g. I have two domains - domain1.com & domain2.com both pointing to the same location. I want ...
0
votes
2answers
202 views

Pretending a file is in subdirectory with .htaccess

I have a web application, and it has a RESTful PHP backend that uses Zend framework (which does its own URL rewriting magic). The problem is, my backend's entry-page is api.php and the endpoints look ...
0
votes
0answers
70 views

Move a website to subdomain while preserving (rewriting) URLs

I'm considering to move the (Confluence) wiki content of www.site.com to the subdomain wiki.site.com to make room for a well-designed landing page (Wordpress) which should take the wiki's place on ...
2
votes
1answer
47 views

Force url to use www [duplicate]

I'm confused about how to force my url to use www in the address. I have a .htaccess code like this: <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f ...
18
votes
5answers
2k views

Why extensions are hidden in URL?

I know HTML and CSS like a mid level still not a pro. Many times I see in URL extensions are hidden (e.g. .html, .php) but everybody is not doing this. Why do they do that? Is it for security, or for ...
0
votes
0answers
60 views

http://www.mysite.com/c/v to display different domain:http://www.myothersite.com/c/v

My site is written in asp.net using C#/MVC 4.5, and is hosted on Windows Server 2008, IIS7. # It has the following route https://mysite.com/c/v. When the user types in https://www.myothersite/c/v, I ...
1
vote
0answers
55 views

optimize htaccess

I have two condition which are conflict RewriteRule ^patients/findadoctor/(.*)\.html$ subcategorydoctor.php?id=$1 [L,NC] and RewriteRule ^patients/findadoctor/(.*)\.html$ ...
0
votes
0answers
16 views

SEO - Big revamp of my URL structure - please suggestions [duplicate]

I have a big network of sites in many countries. There are over 30-40 Million indexed pages in 34 countries, what will be re-indexed hopefully and will be redirected with 301 to the new URL structure, ...
1
vote
2answers
83 views

Are there some permalink typology better than others for SEO?

I am pretty new in WordPress and on my blog I am using permalinks. I have seen that there are 5 topologies of permalinks and I don't know if some types are better than others for search engines for ...
0
votes
0answers
20 views

New to URL Rewrite [duplicate]

I have absolutely no knowledge in this and have tried several attempts to turn http://mcserverworld.net/library/site/register.php into http://mcserverworld.net/register I am using a xampp ...
1
vote
1answer
155 views

How can I set parameters in Google webmaster tools so that my dynamic content is indexed?

I have read questions about URL parameters in Google Webmaster Tools in this site and the Google Webmaster Help Center but I have a problem. My site searches in the database and show some ...
1
vote
1answer
54 views

Redirecting previous domain subfolder links

I've recently bought a domain that was unregistered. After looking in Google webmaster tools, Google is trying to crawl random pages that don't exist. Turns out it did have a previous owner. The ...
1
vote
2answers
121 views

Redirect multiple cctld's subdomains to tld subdomain

I have a site I use for development testing on one of our development servers, it is hosted at dev.domain.com. I basically want to have www.domain.com, www.domain.ca, fr.domain.ca all point to ...
0
votes
1answer
152 views

Rewritten URLs stopped getting indexed a month ago

I'm working on a website for someone which sells their products on their web site. There is an item.php page which displays the item for sale. I switched all item pages/inks from dynamic URLs to ...
0
votes
1answer
1k views

Why is ww35 used in some URLs? [duplicate]

A question asked on my website here http://www.wrangle.in/topic/av5b5ymlhoyc/what-is-the-difference-between-www-or-ww I want to give them answer but I didn't find anywhere on google. So I thought ...
1
vote
1answer
127 views

Are there any possible pitfalls/issues that can arise from URL rewrites?

I'm in the process of move a website for a client, utilizing a new theme. Usually this is straightforward enough but some of the base category URLs they use are mess and they would also like to be ...
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 ...
3
votes
2answers
966 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 ...
1
vote
2answers
103 views

Redirecting requests to a subfolder

We have multiple WordPress installations on our IIS7 (Windows Server 2008) Server as follows: http://www.example.com/site_one http://www.example.com/site_two http://www.example.com/site_three These ...
2
votes
1answer
205 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
vote
2answers
683 views

How to handle CNAME host redirect to virtual directory?

I have an internal website and virtual directory http://server2012/logs. I created a CNAME on my DNS server as LOGS -> server2012. I would like to set it up so that http://LOGS redirects to ...
2
votes
1answer
383 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$ ...
0
votes
2answers
71 views

IIS Rewright from www to HTTPS

If I use mywebsite.com IIS will do as expected and redirect it to https://mywebsite.com. If I use http://mywebsite.com IIS will do as expected and redirect it to https://mywebsite.com. But, if I use ...
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 ...
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 ...
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
3k 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/ ...
0
votes
1answer
269 views

How to take off .html from domain.com/page.html

I am using cPanel to build a website and I am not sure how to take the .html or .php file extension off my webpages. Usually I will use a python framework and I do the routing manually but I am not ...
2
votes
1answer
113 views

Rewrite catalog/index.php to www.domain.co.uk [closed]

We have an online shop with a welcome page. Our SEO company has asked us to get rid of the welcome page with a rewrite. I am struggling to get this to work. Can you help please? I want to rewrite ...
5
votes
1answer
708 views

PHP URL Rewrite engine for small project

I use PHP. I want to setup a micro site as a prototype, where I can work with the frontend only, separated from any CMS. URL Rewrite I also want the URL rewrite to be correct, like ...
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 ...
1
vote
3answers
5k 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
4answers
573 views

Which URL is SEO friendly?

I have to choose between two usernames, one comprises of just my first name i.e. http://example.com/john while the other comprises of full name i.e. http://example.com/johnsmith. Which of the above ...
1
vote
2answers
238 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 ^/?$ ...
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 ...
3
votes
1answer
244 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 ...