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
2answers
84 views

Displaying “index.php” in URL

Is there a best practice/convention to have www.example.com as opposed to www.example.com/index.php in a site's URL? I made the links to the homepage relative (i.e. href="index.php") as opposed to ...
2
votes
1answer
1k views

Joomla 1.6 URL rewrite on IIS7 (removing /index.php/)

Joomla 1.6 was released today and I'm wondering if anyone knows how to get rid of the /index.php/ part? How link looks now: http://www.example.org/index.php/stuff How link would look after URL ...
2
votes
1answer
95 views

file need to go through a php page using .htaccess

I'm looking for a way to convert this type of url : h11p://www.mywebsite.com/dl/F5EGD6 Into h11p://www.mywebsie.com/dl/files/my_file.zip sing a PHP page to request the URL from the DB with F5EGD6. I ...
2
votes
1answer
931 views

SEO benefits of URL as: www.example.com/category/subcategory/ [duplicate]

Possible Duplicate: debating between different kinds of URL and see if one is more seo-friendly than other… Our SEO advisors are claiming that having our URLs in the form: ...
2
votes
2answers
330 views

How can I rewrite an old URL using variables to a static html page?

I am an htaccess newbee I am trying to redirect the old URLS for my site to the new URLS for my site. The old site used variables in the URL but the new site uses SEO friendly URLs. When I try to ...
2
votes
2answers
293 views

Mod Rewrite not working on my addon domain

have a wordpress website on my main domain For the wordpress website i have this in my .htaccess file # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond ...
2
votes
5answers
199 views

Apache URL rewriting not working

All .php files are rewritted before doing the below rewriting: test.php => test foo.php => foo I want to rewrite this URL http://www.testdomain.com/test?name=john&id=2&nick=doe to ...
2
votes
1answer
240 views

Using .htaccess, can you hide the true URL?

So I have a web hotel with 1 main website http://www.myrootsite.com/ and a few websites in subdirectories, in a folder called projects. I have domain names pointing to the subdirectories, but ...
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 ...
2
votes
1answer
49 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 ...
2
votes
1answer
114 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 ...
2
votes
0answers
122 views

Rewrite rule not matching second level directory URL [closed]

I have this .htaccess in a po_systems folder of my website # Set up mod_rewrite RewriteEngine on RewriteRule ^build_system/([^/]+)/([^/]+)/?$ ...
1
vote
1answer
937 views

Different robots.txt for two different domains point to same folder

I have the following two domains: domain.com test.domain.com Both point to same folder which is "public_html". What I want is a different robots.txt file for each domain. So when someone ...
1
vote
2answers
520 views

Which method is better to add “www.” before domain name

I have search through Google and found 2 methods to add www before domain name. First is by adding a CNAME and second is using rewrite mod in .htaccess file. I just want to know which method is ...
1
vote
3answers
1k views

Search Engine Friendly URLs with Query String

I have content that can be accessed from various ways. For example my content is reviews and I have three type of reviews: /customer-reviews/11/slug.html /third-party-reviews/11/slug.html ...
1
vote
1answer
103 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 ...
1
vote
1answer
65 views

How do search engines handle URL's when it comes to SEO?

I am building a website using Symfony. At the moment, the "raw" URL's being used are like this: www.localhost.com/mainpage/home www.localhost.com/events/1/name-of-the-event When the development of ...
1
vote
1answer
574 views

Can Apache “Correct” URL Case?

Let's say I keep every word of file names capitalized. For example, Home.php or MultipleWordTitle.html. Is there any way for Apache to redirect requests for incorrectly-cased URLs to the capitalized ...
1
vote
1answer
36 views

How can I create a shorter alias URL to a longer URL using an .htaccess file?

Using an .htaccess file, I want to make one specific URL have a shorter alias like this: Original URL: ...
1
vote
2answers
38 views

URL Rewrite with spaces or with -?

Which URL is more SEO? mydomain.com/category-name/article-name.html OR mydomain.com/category name/article name.html I have read some articles about URL Rewriting but there I can't find any ...
1
vote
1answer
93 views

What is occurring in this .htaccess file in regards to rewriting to clean URLs?

I have the following code in my .htaccess file, which is working fine and using "pretty" permalinks to reroute everything back to /index.php, and using $_GET values to serve customized content based ...
1
vote
2answers
155 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. ...
1
vote
1answer
82 views

Personalized sub-domain URLs

Most of the SaaS companies, some social networking, and blog services (like Wordpress.com and blogger) create a personalized sub-domain for each user, e.g. username.website.com What is the general ...
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, ...
1
vote
2answers
230 views

How does WordPress determine which template to show?

So I recently set up a Wordpress blog and I've noticed that when I make posts, the link is http://www.domain.com/?p=2. I was wondering how you could specify which file to use to parse such requests. ...
1
vote
4answers
38 views

Using a .htaccess to RewriteRule and Redirect 301 at the same time?

I have a couple of specific URLs that I want to display differently on my website, like this: RewriteRule ^contact$ contact.php To get ride of the ".php" extension. And to be SEO friendly (to ...
1
vote
1answer
79 views

301 redirection removes UTM tags from URLs

A page redirects to another page using a 301 redirect in a .htaccess file. If try to access the page from a URL with UTM tagging after redirection, it removes all UTM tagging. Is this normal ...
1
vote
1answer
77 views

RewriteRule to send all URLs with `mod` in them to the `moderator` directory

I have a .htaccess file in the root directory of my project, that contains all the rewrite rules for the site to functions. Most of these rules belong to the mod section of the site, and only two of ...
1
vote
2answers
99 views

What is the SEO-recommended method for using underscores and dashes in URLs that contain geographic locations?

In reading through this article: In Subfolder & File Names, Use Dashes, Not Underscores Good: Good: http://www.domain.com/sub-folder/file-name.htm Bad: ...
1
vote
2answers
42 views

In 2014 has any SEO value rewriting urls? [duplicate]

In 2014 has any SEO value rewriting urls? If my site consistently links product page, and that product page shows a consistent canonical url, is there a real SEO doing this ...
1
vote
1answer
53 views

301 redirect + RewriteRule not working together?

I am using a 301 redirect to redirect a page to another page in the same website, which uses RewriteRule to hide the PHP variables in a friendly URL. My redirection code in .htaccess: Redirect 301 ...
1
vote
1answer
42 views

Changing www to point to non-www, instead of the opposite, using .htaccess

I'm switching servers and need to change the following RewriteCond and RewriteRule commands in the .htaccess file. Right now I'm pointing domain.com to www.domain.com using: RewriteCond %{HTTP_HOST} ...
1
vote
1answer
176 views

“Syntax not understood” error in Google Webmaster Tools robots.txt analysis when I use RewriteRule

In order to redirect my www.site.com to non-www, I employed this bit of code found somewhere on the web. RewriteCond %{HTTP_HOST} ^www.website.com [NC] RewriteRule ^(.*)$ http://website.com/$1 ...
1
vote
1answer
146 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 ...
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
2answers
125 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 ...
1
vote
1answer
648 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
2answers
115 views

IIS Rewrite Module 2.0 question

If I have to install "IIS Rewrite Module 2.0" on my machine for it to work, since my web site runs on a shared web server, does that mean that my host has to have this installed in order for it to ...
1
vote
1answer
457 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 ...
1
vote
1answer
838 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: ...
1
vote
2answers
49 views

rewrite url (redirection)

How to rewrite url: www.domain.com domain.com to www.domain.com/sell.html Were sell.html is already rewritten I need some kind of redirection.
1
vote
1answer
1k views

URL Rewrite to subdomains?

say i have a website with /article.php?id=1&category=Minecraft&Name=Lorem+Ipsum and /topic.php?category=Minecraft how would i setup url rewrite to make the topic pages being ...
1
vote
2answers
140 views

htaccess rewrite problem

Maybe is best way to show my problem in one example. In my .htaccess : RewriteRule ^catalog/[a-z0-9_-]+-([0-9]+)/[a-z0-9_-]+-([0-9]+)/[a-z0-9_-]+-([0-9]+)/ ...
1
vote
1answer
96 views

I need a little help with .htaccess rewrite

I need a little help with .htaccess file I have songs, singers and albums links I want to rewrite. I all ready rewrote the links and they are like this: the links for the songs is like this: ...
1
vote
1answer
55 views

mod_rewrite change . to -

I'm moving my site and the URL structure has changed because of the new CMS. The urls would be similar to /my.products.htm on the new site we are changing the URLs to this /my-products is their a way ...
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 ...
1
vote
2answers
618 views

.htaccess rules to rewrite URLs to front end page?

I am adding a new application to my site at example.com/app. I want views at that URL to always open myapp.php. E.g. example.com/app -> example.com/app/myapp.php and example.com/app/ -> ...
1
vote
2answers
889 views

Domain forwarding with url substitution in the address bar

I have a blog being served by a machine I have at home. Since the ip can change i set up a dyndns domain to always point to that machine. However, I purchased a more friendly domain (at godaddy.com) ...
1
vote
2answers
1k views

How to add an exception to this rewrite rule

I need to change this so that one file in wp-admin is not forced through https: # add a trailing slash to /wp-admin RewriteCond %{REQUEST_URI} ^.*/wp-admin$ RewriteRule ^(.+)$ ...
1
vote
1answer
46 views

htaccess rewrite doesn't work

I'm trying to redirect url's in my /joomla/ folder containing "rsform" to the same url but except for /joomla/ /formulieren/. However my tried .htaccess rewrite doesn't work. I tried: RewriteEngine ...