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)

1
vote
1answer
629 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 ...
3
votes
1answer
166 views

URL rewrite and domain frame

I have registered the domain www.posti.sh at nic.sh. The website is on the server www.myskoob.com/postish. Unfortunately, nic.sh does not support frames, i.e. that the domain stays posti.sh as it ...
1
vote
0answers
154 views

Handling URL Rewrite in IIS5

On an older server, using IIS5, I have an error handling page which for some missing pages uses Server.Transfer to load other pages based on a database. The pages all work for a browser but some ...
2
votes
1answer
354 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
1answer
68 views

Force google to just index rewrited urls

Let's think we have a website with a URL like http://www.domain.com/webdesign/ that rewrites http://www.domain.com/?article=1. now when i search my keyword in Google, it will show up ...
2
votes
1answer
528 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 ...
1
vote
1answer
1k 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: ...
4
votes
4answers
384 views

Removing page levels/ keeping url clean

I have recently put my site live - http://www.soundplaza.co.uk I then bumped into a few articles mentioning about page length and depth and I was wondering if I should change the URL structure while ...
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
980 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 ...
2
votes
2answers
570 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 ...
2
votes
1answer
2k views

nginx proxy rewrite not matching

I'm setting Nginx to forward requests to several backend services using proxy_pass A few of them I have to add rewrite rules to strip the folder off, however for this particular service, the rewrite ...
1
vote
0answers
34 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 ...
4
votes
2answers
572 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
2answers
290 views

Tool to generate list of redirections (sitemap for .htaccess)

Is there any good tool (preferably for Ubuntu), that can help me generate a list of URLs used on a site? I'm building new version of some site, but I don't want to get 404 errors for the old pages. ...
1
vote
1answer
83 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 ...
4
votes
1answer
287 views

Dynamically rewrite URLs upon the user's selection - is it possible?

In my PHP based web application, there's a form that generates a URL according to the user's selection. The form has 7 different fields, each one of them affects the final URL, none of them is ...
0
votes
2answers
277 views

How to allow nonsense characters as web url for example: & * Ö :: and more

I have a database which contain many name with combination of those characters. Once i will reload them, they will become public web url. So that visitor if open this url (its valid??): ...
2
votes
1answer
215 views

Is there a SEO benefit of a 'reverse canonical redirect' back to the 'friendly' URL?

As far as I understand, you should have a single URL to access a given page on a website to prevent duplicate issues. With this in mind I have setup IIS7 Rewrite to point my friendly URLs to my .aspx ...
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, ...
4
votes
2answers
419 views

Having google index canonicals but users using parameters - correct?

I'm working on a site that has a search facility with multiple parameters that look up property listings. The possible parameters are: City, Area, Building Type, Min. Bedrooms, Max Rental Price, ...
5
votes
3answers
20k 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 ...
-2
votes
2answers
237 views

.htaccess guide / examples / tutorials? [closed]

Does anyone know of any good guides for someone new to editing and making .htaccess files. Anything about rewriting urls, directory access and passwording a directory would be great.
1
vote
2answers
748 views

URL rewrite subfolder to root and forbid accessing subfolder

I have Drupal installed in a subfolder drupal but I want to access pages as it is in root folder: http://www.example.com instead of http://www.example.com/drupal I'm able to have this working, but ...
3
votes
1answer
184 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 ...
4
votes
2answers
3k views

URL rewriting removing question mark and replace it with slash

How can I rewrite my URL from edit.php?id=2 to edit/id/2?
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 ...
2
votes
0answers
136 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
2answers
605 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 ...
8
votes
1answer
3k views

Alternative to .htaccess (due to bad performance?)

I've been told that .htaccess should be avoided when possible, as it reduces the server performance and new servers disables it or just don't implement it anymore. I don't know how true this is, but ...
0
votes
2answers
53 views

Cannot allocate resources due to URL rewriting

I've a rewrite rule to convert mysite.com/?lang=en to mysite.com/en, but this now gets me into troubles as the referenced files in the .html are relative to parent folder, and now its supossed to be ...
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 ...
2
votes
2answers
356 views

Can you rewrite the root?

Not sure how to word this one but will explain most I can. I am trying to make the following happen. Re-write this http://domain.name To this http://domain.name/home/ Is it possible ? update ...
1
vote
1answer
104 views

What impact (if any) will using the term 'portal' in my subdomain names, have on SEO for my website?

I am building a portal for a specific category of information. I am trying to decide whether to use subdomains like: www.portal.mysite.com/home.html (home page) ...
6
votes
3answers
313 views

Why treat these as URLs with different path capitalization and trailing slash as different?

These are all strictly different urls: http://www.example.com/page http://www.example.com/pAge http://www.example.com/page/ http://www.example.com/paGE/ I get that it conforms to the strict ISO ...
6
votes
2answers
3k views

How do I setup 301 redirects in Google Apps site?

I have just moved a website from a shared host to a Google Apps site. Is there a way I can setup 301 redirects on my Google Apps site so that old links (with a different URL) can be 301 redirected to ...
0
votes
1answer
83 views

Sitemap and url are laid out differently from each other

There is a website and the layout looks something like below: home->approved-> education entertainment business | ...
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 ...
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 ...
3
votes
1answer
190 views

Can people's names be added to a URL slug

On webpages generated from user generated content, I create slugs for the URLs based on the title (just like stackoverflow does): http://www.example.com/photo/day_at_park If there's more than one ...
1
vote
1answer
614 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
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 ...
2
votes
2answers
94 views

When is it worth it to make my URLs “pretty”?

We are in 2011, search engines are now using hundreds or thousands of parameters to weight a page. The URL is only one of them, is it still so much of an impact in the search results? People are ...
3
votes
1answer
221 views

SEO - reducing URL length

Take a recent question: http://stackoverflow.com/questions/6479771/properties-of-inner-exception-are-disposed Instead of having an integer, if we base 36 encode the question ID we get 3uvtn, cutting ...
2
votes
2answers
237 views

Different urls to same page and redirect

I have 3 urls leading to same page // as most pages are in google, my previous website's version http://mysite.com/1234.aspx // shortcut http://mysite.com/1234 // SEO url ...
3
votes
2answers
114 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 ...
10
votes
2answers
1k views

SEO : urls : best place for the id

I would like to know what's the best location for an id in a SEO optimized URL: http://www.site.com/id/slug-title http://www.site.com/slug-title-id What do you think ?
1
vote
2answers
50 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.
3
votes
1answer
475 views

clean urls and differences in hosts

I am developing a relatively static website, where I want to be able to access each page without typing .html (or .htm or .xhtml ...) at the end (/about not /about.html). I am developing using the ...