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
23 views

The ultimate recipe to end duplicate content

I decided now its time to fine-tune my apache configuration to finally/hopefully end the duplicate-content madness. I notice the more I pay attention to this, the more income I make from ads. This ...
2
votes
2answers
84 views

Limit access to rewritten uri based on IP address

I'd like to limit access to a Drupal 7 registration page (/user/register) from certain IP addresses. I've tried to set the apache directive, but it's still letting me access it from an IP that isn't ...
1
vote
1answer
20 views

Apache 2.2 Not Identifying Safari with HTTP_USER_AGENT

I have a web server that has to meet PCI compliance requirements. Their latest round of policy changes have removed support for Safari, after having removed support for Windows XP based IE clients. ...
0
votes
0answers
16 views

Is it good to have / after website URL for SEO? [duplicate]

Which one of the following links is the correct and SEO friendly URL? http://apkapp.in/software/view/35531716?download=WhatsApp-2.12.258.apk/ (with / at the end) or ...
0
votes
1answer
18 views

Do we have any redirect solution for all of subURL?

Suppose I redirect exmpale0.com to example1.com , example1.com is newer. Already , I promoted my exmpale0.com into social networks , Suppose I had: http://example0.com/blahblah Now I have ...
1
vote
1answer
16 views

Does /? always equal /defaultscript?

I'm trying to reduce the number of redirects and number of duplicate content pages and somehow I think that the first occurrence of /? in a URL actually means /firstfoundscript? where ...
3
votes
2answers
68 views

Google Webmaster Tools - Duplicate content (slash and none slash version of a page)

Google Webmaster Tools shows a lot of duplicate content in the following pages: www.example.com/example www.example.com/example/ I do NOT offer two versions of any page on my website, when you ...
1
vote
1answer
24 views

making friendly urls without making unfriendly url accessible to anyone

As many know, one can make a friendly URL with mod_rewrite in their .htaccess file like so: RewriteRule ^category/(.*)$ /somescript.php?category=$1 [L] This works as long as somescript.php is ...
0
votes
1answer
20 views

Difference between redirect and rewrite in .htaccess (in relation to SEO and the canonical tag)

Okay so if I'm wanting to remove the extension of a URL but my canonical tags point to the url with the extension I can't use a 301 redirect without it negatively affecting SEO. Does the same go for ...
0
votes
1answer
25 views

Why does http://example.com equal http://example.com/? [duplicate]

When I access http://example.com in a web browser, the browser adds a slash to the end of the URL and loads the page. The part that scares me is that duplicate content exists when one uses the ...
1
vote
2answers
80 views

What is the IIS equivalent of a rewrite rule that sends all requests to a PHP file?

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 ...
3
votes
1answer
181 views

.htaccess redirect not working for web alias

I have two domains at one.com: example.com and example.de I would like to redirect from example.com to example.de/en I wanted to use an A record so that example.com points to example.de and then use ...
2
votes
2answers
431 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 ...
1
vote
1answer
84 views

“Friendly URLs” rule in .htaccess interfering with some directories

My .htaccess is set up to remove .html from URLs as follows: RewriteEngine on RewriteCond %{http_host} ^example.com [NC] RewriteRule ^(.*)$ http://www.example.com/$1 [R=301,NC] RewriteCond ...
1
vote
1answer
21 views

URL Domain Forwarding or Masking a Single Page?

I have a page on my WordPress site called mysite.com/group and it has a bunch of text content. I want people to be able to access this page from the URL mysitegroup.org so it uses the ...
1
vote
1answer
47 views

URL RewriteRule doesn't work when using WP Database Participants in my WordPress website

I'm using WP Participants Database plugin in a site developed using WordPress and I'm trying to transform: ...
1
vote
4answers
10k 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?
0
votes
0answers
10 views

URL Rewriting - Is it still Relevant to Search Engine Rankings? [duplicate]

As or July 2015, Does URL rewriting have any effect on search engine rankings? Is www.example.com/shiny-product better than www.example.com/products.xyz?product_id=123 ?
3
votes
1answer
221 views

URL rewrite from www.domain.com/subdirectory 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
43 views

How to keep friendly URLs consistent?

I downloaded a site with a crawler script (HTTrack) and now have a few hundred HTML files that need to be edited and re-deployed. The original site ran on a combination of Drupal and a lesser known, ...
1
vote
1answer
123 views

Redirect subdomain to folder without changing the URL

I'm trying to achieve masking subdomains to folders using .htaccess UPDATE for the sake of clarity: I Would like the user to enter the url: subdomain.example.com and stay in the same url while ...
0
votes
1answer
16 views

stopping accessibility of internal script files via mod_rewrite

Turns out after researching, one site found duplicate content on my website. The reason is because the unfriendly php file that friendly URLs link to was apparently discovered by a robot and then got ...
1
vote
1answer
30 views

Link re-interpreted by browser does not work

I have a problem with links generated by php, for example this link works: ...
1
vote
0answers
13 views

UCC cert for single IIS7.5 site with multiple domains forwarded via rewrites

We have a site that has 80-some-odd aliases. In other words, each host name's DNS entry points to the same IP address and port number, and when they reach our IIS7.5 server they are forwarded to the ...
1
vote
2answers
27 views

Should the canonical tag point to the rewritten URL of the page even if it doesn't have a valid directory structure?

The structure of my url is http://www.somesomewebsite.com/ShowProduct.aspx?ID=12. I am doing a permanent redirect (301) to http://www.somewebsite.com/product-category/12/this-is-my-product-name/. ...
1
vote
2answers
126 views

“There is no subdomain here.” error in creating (one/multi)-level sub-domains

Objective: I want to create multilevel sub-domains. For example, I've a domain like "domain.com," and now I want to create some sub-domains for it. It should be noted that what I'm working on it, ...
0
votes
0answers
26 views

URL Rewrite - remove ?url=

I have an address which is /blog?url=article-1 Is there a way to just remove the ?url= part and replace it with a forward slash? So in the end the url should look like /blog/article-1 I have tried ...
4
votes
2answers
206 views

Is a trailing slash appropriate before URL parameters?

I understand that http://www.example.com/product and http://www.example.com/product/ can actually be seen as 2 different URLs and is probably best avoided for SEO purposes, but how does this ...
1
vote
3answers
53 views

IIS7 webpage redirect question

Noob question here. I searched, but couldn't quite find anything that would explain how to do this. I'm using IIS7 on a 2 server web farm with traffic being load balanced to either of the two servers. ...
1
vote
2answers
276 views

What rewrite rule would show the 410 (gone) status for removed forum URLs?

I have removed a forum system from my CMS and now I want to return an 410 status code whenever a search engine visits the former posts. I know that I have to use a number of Rewrite Rules to do the ...
1
vote
2answers
69 views

Will http to https rewrite rule affect SEO ranking?

I recently started serving all my pages over https instead of http. I did so using this rewrite rule: <rule name="force https" stopProcessing="true"> <match url="(.*)" /> ...
1
vote
1answer
59 views

SEO issue when migrating to wordpress – changing urls and file names etc

I get an issue with the SEO of my website. Before I was on top of Google with "Icecom", but I migrated my website on WordPress. All my urls have changed and the body too... What I did for my new SEO: ...
1
vote
1answer
54 views

How to rewrite laravel /public directory [duplicate]

So by default the index.php is in the public directory. I want to rewrite the url so that abc.com/public/ becomes abc.com/ ?? I am very new to url rewriting ..
0
votes
0answers
17 views

URL Rewrite not working for API

I'm attempting to create an API server for a course I'm taking and having an issue with enabling URL rewrite. I have an htaccess file and an api.php, what my goal is is just to be able to go to ...
1
vote
3answers
3k 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 ...
0
votes
1answer
40 views

Transitioning from www.example.com/wordpress/abc to www.example.com/abc

The existing corporate website is a non-CMS, dreamweaver dinosaur, with the top level HTML pages residing in the web root directory: httpdocs/. I recently installed WordPress, and the site can now be ...
2
votes
1answer
576 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
1answer
54 views

Importance of nice url with keywords

Introduction What is the importance of having keywords in your nice formed url, also the position of the keywords in the url. Example I am working on a site which contains multiple branches in 2 ...
3
votes
1answer
825 views

What does the '^' mean in “rewrite ^ http://example.com permanent;”

I found some configuration of nginx contains: if($args ^~ post=140) { rewrite ^ http://example.com/ permanent; } What does the ^ mean in rewrite ^ http://example.com/ permanent?
2
votes
2answers
73 views

Redirect to other folder but get URL appear the same

I have a web app project located in a directory called issues with several sub directories. The folder structure is as follows: -issues -applications -cli -library -public ...
0
votes
1answer
88 views

Is it possible to redirect https to http? [closed]

I am working on a website with Comodo SSL installed. There are http: links to pages that Chrome and IE-11 complain are not secure and block access to them unless users explicitly allow them when ...
0
votes
0answers
50 views

Using mod_rewrite to set cookie and modify domain name

I have two editions of a website. The mobile and desktop version. All desktop sections of the website have normal urls and mobile sections have subdomain urls suffixed with the word mobile. Example: ...
0
votes
0answers
28 views

Virtual Application stripping / in rewrite rule

I have a virtual application which is deployed into the folder blog. I want to be able to redirect from www.site.com/blog/ to www.site.com/blog. I have tried a number of rules, but can't seem to get ...
0
votes
0answers
14 views

Minimalist RewriteRules but access directories, error pages, etc statically

I am fairly experienced with PHP, but am new to Python. I am generally familiar with mod_rewrite, though I still get mystified by it very often. I am now trying to write a new Python web application ...
1
vote
2answers
39 views

redirecting some parts of a url

ok let me try once again this link [www.mgdezigns.com/cards/festive_silver_purple_ornament_holiday_cards_postcard-239887577090743570.html] needs to be redirected to ...
0
votes
0answers
13 views
2
votes
2answers
462 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://example.com To this http://example.com/home/ Is it possible ? update ...
10
votes
5answers
275 views

Which of these 3 URL-Rewritings are better SEO friendly URLs?

Imagine my current flat-file no-CMS website with an URL like http://example.com/en/tomato. This is of course very unsexy and could be anything really from tomato soup, tomato the music band, tomato ...
1
vote
1answer
75 views

What URL with French words does Google like?

We are looking for an answer to "what to do with French URL's?" We are going to generate a lot of French URL's this include characters like: L'test tést thîs is a test So we have a few ...
1
vote
0answers
151 views

Redesign with changing URL Structure and SPA impact on SEO [closed]

We run a popular news website and it has been online for around 4 or 5 years. The design is old, code base evolved into spaghetti and the management wants to create a new identity with a complete ...