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
1answer
142 views

How to secretly rewrite Google Analytics campaign codes to main page?

I want to create a simple "secret" mod_rewrite redirect (not shown in user's browser address box) to redirect: http://www.mydomain.com/code -> ...
0
votes
0answers
78 views

When IIS rewrite rule fails it triggers or moves on to a 2nd rewrite rule

Windows 2008 Server: IIS 7.5 I want to construct a rewrite and redirect rule so that if it fails, (can't find the page because the condition is not met, or perhaps page does not exist) another rule is ...
1
vote
2answers
130 views

URL for website with multiple currencies

It seems that most of the websites which handle currencies keep track of the current currency throughout the user browser session and not through the URL itself. This way, when sharing the URL with ...
1
vote
2answers
869 views

Remove .php and id from URL and replace with slash

I have tried lots of URL rewrite rules in .htaccess but I am stuck now. I have to change this URL: products.php?id=31 to products/31 I have used: Options +FollowSymLinks -MultiViews ...
1
vote
1answer
206 views

Allow (and correct the URL) when there is a special character such as %26 using IIS and the rewrite module

I'm struggling with a legacy app that uses special characters like %26 in the URL. The characters don't affect the app but can't be changed, so I'm trying to get IIS to deal with them. I've tried ...
1
vote
1answer
156 views

Redirect rule to new site still requires old site to be active

I have two websites being served on IIS 7.5 Windows Server 2008, with one site (projects.com) recently moved so that it now sits under the 2nd site (mainsite.org). This sub-site has numerous resources ...
4
votes
1answer
908 views

Canonicalization for www/non-www URLs and IP/domain on a Windows server

I have checked my website using this SEO tool and the results report 2 issues: Test your site for potential URL canonicalization issues. Canonicalization describes how a site can use slightly ...
2
votes
2answers
67 views

Google Analytics Campaigns - cleanup URL after arriving to webpage?

After visitor lands to my webpage using campaign url: http://www.mydomain.com?utm_source=signature&utm_medium=email&utm_campaign=myname Is it possible to do a rewrite to ...
2
votes
1answer
155 views

Apache rewrite rule to add a directory in front of a file

I have an HTML page in my root directory, and when someone clicks it I'd like there to be a directory before the file name, that doesn't exist. For example, instead of just being able to access: ...
1
vote
1answer
114 views

Rewrite URLs not working - wrong method or conflict?

I've been at this for about an hour now and I'm not having much luck. htaccess files are quite new to me, so I'm obviously doing something very wrong. Current htaccess content, which I need to keep: ...
0
votes
1answer
110 views

URL rewrite from www.domain.com/sudirectory to http://domain.com/subdirectory

I need a solution for the following problem: I use a CMS and want the backend only be available at http://domain.com/backend and not at http://www.domain.com/backend. How do I have to change my ...
1
vote
1answer
148 views

Rewrite rule for friendly URLs to index.php is not working from htaccess

Trying to get SEO Friendly URLs to work for my website using the following htaccess: RewriteBase / RewriteCond %{REQUEST_FILENAME} !-l RewriteCond %{REQUEST_FILENAME} !-f RewriteCond ...
2
votes
1answer
93 views

301 redirects, query strings and SEO

We have recently consolidated one site into another one. We set up all of our 301s and those all work famously. The bulk of the 301s (including the old site's homepage) land on an interior page of ...
3
votes
1answer
195 views

Redirect www to non-www using Apache htaccess does not work

I have this in my .htaccess (modified from the default Drupal .htaccess): RewriteCond %{HTTP_HOST} ^www\.website.com\.com$ [NC] RewriteRule ^(.*)$ http://website.com/$1 [L,R=301] In theory this ...
0
votes
0answers
8 views

How can I rewrite URL without losing Facebook likes, tweets, etc [duplicate]

I have decided to change the structure of my URLs, so that they'll be shorter and make more sense. The only problem I have is that my site has hundreds of pages and they all have lots of Facebook ...
1
vote
1answer
104 views

URL is generating a /#!/splash-page

My site for some reason is generating a shebang - /#!/splash-page on the URL. For example when I type www.modernvintage1005.com, the browser returns www.modernvintage1005.com/#!/splash-page and every ...
0
votes
1answer
62 views

Possible to drop the original query parameters entirely in a rewritten URL?

Original URL looks something like domain.com/filename.php?id1=333&id2=444. Desired rewritten URL is something like domain.com/my-rewritten-url. I can imagine creating a lookup table with columns ...
0
votes
0answers
211 views

SEO, IIS 7 and web.config in subfolder issue

We have ASP.NET application that has sub-folder with .aspx pages and separate web.config file in it. The .aspx pages in that sub-folder behave as separate site. In the web.config file at application ...
0
votes
2answers
129 views

URL good practice for category sub category?

I have developed a application and I need to work for SEO-friendly URL. I have following URL structure: http://localhost:3000/posts/product/testing-with-slug-url-2 and ...
1
vote
1answer
521 views

Web.config WordPress rewrite rules next to Magento

I've installed Magento on IIS in folder: E:\mydomain\wwwroot (I already have it all running correctly). I have no deeper folder magento, I placed all files directly in the wwwroot folder, so: ...
1
vote
0answers
165 views

Require domain alias to show in browser address bar

Similar to question posted here (but not related to sub directories): .htaccess redirect of domain name alias to main domain but must show up as the alias domain I am trying to direct traffic from an ...
0
votes
1answer
33 views

URL subfolder rewrite without server access

I am having trouble with the following. I have a site in development that has every link on the site pointing to the wrong folder. Example: example.com/en/home/, a site link goes to example.com/en/, ...
0
votes
0answers
227 views

URL rewriting on multiple domains hosted on one GoDaddy account

Note: I think this question has been asked before but no clear solutions have been discovered. I had developed a site in PHP that uses clean URLs: For example: www.example.com/about ...
2
votes
0answers
37 views

How Come This Website Is Not Suffering From Duplicate Content Issues? [closed]

If you visit the following website http://onedesigncompany.com/ and scroll down then you'll notice that the URL is being changed in the address bar. So, isn't it a duplicate content issue? Is not ...
3
votes
1answer
1k views

Clean URLs without PHP file extension

I want to make my URLs clean, for example: http://sample.com/about-me instead of: http://sample.com/about-me.php This is my code: RewriteEngine On RewriteBase / RewriteCond ...
1
vote
2answers
86 views

Does Google search past the ? or # characters of a URL?

Does Google search beyond the ? or # characters in a URL, example: http://mysite.com/support/general-questions/what-are-the-standard-features-and-functionality?node=node3_50346 Would I be better off ...
3
votes
1answer
408 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
121 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
3k 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
2k 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
121 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
576 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
122 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
116 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
12 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
156 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
191 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 ...
1
vote
1answer
100 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
82 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
278 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 ...
2
votes
1answer
50 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 are extensions often hidden on URLs?

Many times I see that URL extensions are hidden (e.g. .html, .php), but not all websites do this. Why do webmasters hide the extension? Is it for security, for the URL to look cleaner, or for some ...
0
votes
0answers
66 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
58 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$ ...
1
vote
2answers
87 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 ...
1
vote
1answer
172 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
58 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
126 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
166 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 ...