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
3answers
1k views

#! in URL: Is there any merit to using the shebang (#!) in URL if there is no AJAX-loaded content, but otherwise dynamic page generation?

Is there any reason, possibly SEO related, to using the shebang (aka "hashbang") in rewritten URLs on a dynamic site, but one that does not use AJAX?
0
votes
2answers
271 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??): ...
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 ...
0
votes
1answer
67 views

help with htaccess code for navigation [duplicate]

Possible Duplicate: I need a little help with .htaccess rewrite Hello, I need a little help with .htaccess file. I have songs, singers and albums links I want to rewrite. I already rewrote ...
0
votes
2answers
80 views

How can I remove the .html extension for static webpages that are indexed so they'll still work in a WordPress site?

I have a static HTML website with less than 100 pages and 99 of them are indexed in Google's search engine. I want to convert it into a WordPress website, but there are some problems I'm worried ...
0
votes
1answer
383 views

How to map requests to an external directory

I have a directory/application that is located outside of the web root directory of my site. Say the site is here: /var/www/site/htdocs/ And the external app is located here: ...
0
votes
2answers
282 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
1answer
325 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 ...
0
votes
2answers
892 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 ...
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 ...
0
votes
1answer
3k views

“Rule caching” in .htaccess - How to force apache to re-read a modified .htaccess?

I am reorganizing the link structure of a dynamic php-based site of mine. What I am trying to obtain is: redirect old links onto new ones; create new RewriteRules for new links, since every 'link' ...
0
votes
2answers
85 views

RewriteRules targeting a directory result in a gratuitous redirect

I have a standard CMS-like RewriteRule set up in my .htaccess: RewriteRule ^(.+)$ index.php?slug=$1 Let's say I have a directory called "foo" in the root directory. For some reason, if you hit the ...
0
votes
2answers
114 views

Need help getting user friendly URL

I trying to get a user friendly URL. My current link is this: http://www.norwegianfashion.no/designers/?designer=Batlak-og-Selvig&bid=9 What I want is this ...
0
votes
1answer
94 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 ...
0
votes
1answer
85 views

Code for redirecting an HTML page without an extension using an .htaccess file results in a 404 error

I'm trying to redirect an HTML page to a WordPress page which has no extension. The result of redirecting example.com/fa/home.html to example.com/fa/ is a 404 page not found. As you can see they're ...
0
votes
1answer
33 views

URLs created by Googlebot show up as 404 errors

I have a situation where Google is crawling our site. That is fine, no problem, but the issue is that the crawler is creating URL paths that do not exist. /events is a root folder on our site. ...
0
votes
1answer
22 views

Redirect blog archive into certain format

I asked the question in WPSE before, but the answer I got so far is a complicated one. I'm actually looking for a .htaccess way. Here's what the scenario is: My blog archive URLs were like: ...
0
votes
1answer
262 views

URL rewrite to another folder and file for specific requests

I have following directory structure on my local LAMP: www basic app router.php public index.html .htaccess and I can access my index page with localhost/basic/public/ and I am not using ...
0
votes
1answer
48 views

Apache rewrite to other domain and add get parameters?

I want to rewrite a domain to another domain and add get parameters using Apache's mod_rewrite, redirect or similar. So: www.domain.com -> www.otherdomain.com/?param1=value1&param2=value2 ...
0
votes
2answers
137 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 ...
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
1answer
123 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.
0
votes
1answer
124 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 ...
0
votes
2answers
194 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
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
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 ...
0
votes
1answer
82 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
3answers
73 views

RewriteRule was matching before migration, but now browser gets a 404 error

I have this URL rewrite rule in my .htaccess RewriteEngine on RewriteRule ^home$ home.php but when I try to reach awatag.com/home I get a 404 error. This rule worked perfectly before moving the ...
0
votes
1answer
499 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 ...
0
votes
1answer
370 views

How do i point my domain to wordpress blog

I would like to know that if we have our WordPress blog like: http://koolkabin.wordpress.com and our domain like: http://www.outsourcingnepal.com then Can we make it like working and posting all ...
0
votes
1answer
265 views

How to block access to a sub-site with mod_rewrite?

Let's say I have the sites siteA.com and siteB.com. They are hosted such that siteB.com actually points to siteA.com/siteB. How can I block someone from visiting siteA.com/siteB using mod_rewrite? ...
0
votes
1answer
171 views

Restrict access of rewriting file using .htaccess

I rewrite my .php files to .htm, using the following code in .htaccess file. RewriteEngine on Options +FollowSymlinks RewriteRule ^(.+)\.htm$ $1.php [NC] This is working fine. But now I want to ...
0
votes
0answers
12 views

Serving images from public folder or by imagecache?

I am using Intervention/imagecache on my Laravel website, which creates thumbnails on-the-fly by URL manipulation. So thumbnails are automatically created with this route: ...
0
votes
1answer
70 views

Does .html extension in URL help for SEO? [duplicate]

I am working on dotNET and I have changed URL extension from .aspx to .html. Is it good to use .html extension ? My actual URL is www.example.com/Project.aspx?Id=2&Type=this-is-something I have ...
0
votes
0answers
18 views

Best URL for cars related website? [duplicate]

If this was your website, what will be the URLs for each car on sale? http://www.autoscout24.eu/Details.aspx?id=247572735&asrc=ha I'm working on a car dealership website. What should be the ...
0
votes
0answers
27 views

From 302 to 508 rediect, how is Google indexing it?

I'm working under an IIS environment. I would like to put up a splash page for our site maintenance, however, the splash page (app_offline.htm) has to be served on a separate site, since our ...
0
votes
1answer
70 views

Showing content from pages at different URL's (masking), possibly with .htaccess

If I have URL's like:- domain.com/category/widgets/filter/blue domain.com/category/widgets/filter/red And it is pretty difficult to reconstruct them to something like:- ...
0
votes
0answers
22 views

Apache/ISS equivalent

I've always used Apache for all my web development work and I'm struggling to get my head around IIS. I've got an API that re-routes all requests to one particular file: 'api.php', how would I do the ...
0
votes
0answers
23 views

Change Subdomain follow IP Country?

I have something don't know to do it. I want to config domain when the User go to my website, system is catching IP Country of user and auto change my subdomain from www.mysite.com/index.aspx to ...
0
votes
1answer
22 views

How can I rewrite to my .htaccess in PHP? [duplicate]

How to rewrite my URL from http://www.mysite.com/listingsecond.php?ID=1 to http://www.mysite.com/listingsecond? How can I rewrite to my .htaccess in PHP to do this?
0
votes
0answers
68 views

Trouble with encode URL rewriting ASP.NET

Some mounths ago I used links to image as: http://rielter77.ru/imgrs.axd?w=300&file=24587263-7fdf-415a-86fe-9de5f4c18fbb.jpg 3 weeks ago I create a URL rewrite rule: from ...
0
votes
1answer
150 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
79 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 ...
0
votes
1answer
120 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 ...
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 ...
0
votes
1answer
65 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
220 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
0answers
229 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 ...
0
votes
0answers
13 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 , ...
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 ...