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

How to change my id and name in php url

How would I change the URL from from: example.com/games.php?id=27 to: website.com/games/271/game-name-here So far I have this in .htaccess: RewriteEngine on RewriteRule ^games/([0-9]+)/?$ ...
0
votes
0answers
26 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 ...
1
vote
1answer
21 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
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 ...
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 ?
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, ...
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
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 ...
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, ...
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 ...
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
208 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
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
55 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 ..
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: ...
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
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 ...
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 ...
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. ...
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 ...
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
90 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 ...
3
votes
1answer
183 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 ...
0
votes
0answers
14 views

URL rewriting removing multiple url variables and replace them with slash [duplicate]

How can I rewrite my URL from index.php?m=feb&p=news to index.php/feb/news
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 ...
0
votes
0answers
13 views

Should i change EXISTING (NOT NEW) Urls with underscores to hyphens for SEO? [duplicate]

Please note that this is for existing URLs, not new. I know that Google says it is recommended to have Url's to display a hyphen(-) instead of a underscore(_) in the url as a keyword seperator ...
1
vote
0answers
152 views

Convertion of htaccess rewrite rule to nginx [closed]

Through searching the internet with "converting htaccess to nginx rule" I came up with anilcetin and winginx .htaccess to nginx converter which I doubt it doesn't correctly output what I need. Which ...
-1
votes
0answers
17 views

Hiding and redirecting extensions on my webpage [duplicate]

I want to hide extensions on my webpage using the .htaccess file. I have managed to do it by using this code; RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^([^\.]+)$ $1.php ...
1
vote
2answers
53 views

Hiding and redirecting extensions on my webpage

I want to hide extensions on my webpage using the .htaccess file. I have managed to do it by using this code; RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^([^\.]+)$ $1.php ...
1
vote
1answer
204 views

How to redirect a subdomain to the main domain at a different port with IIS

I am trying to set up as following control.domain.com to http://domain.com:8880/ Plesk is running on that port. Infact if I would like any website hosted on the server if accessed with "control.*" ...
2
votes
2answers
204 views

How is a slash in the URL path interpreted by search engines?

I would like to know your opinions on the following URL structure. Is the following SEO best practice and why? If targeting search term "blue suede shoes"... Would "example.com/blue/suede-shoes/" be ...
1
vote
1answer
83 views

How do I redirect a large number of pages in Wordpress when changing plugins?

I have had a WordPress site for two years. It is hosted on a typical WAMP server. I would change it's theme but the one I have chosen doesn't work with the qTranslate or mqTranslate plugin. I'm ...
0
votes
2answers
448 views

Remove folder name from rewritten URLs

Consider this URL: http://example.com/gallery/20141111-some-title In this URL I want to hide gallery/: http://example.com/20141111-some-title How can I achieve this using mod_rewrite? I used ...
2
votes
1answer
49 views

Links on Google result list with unnecessary parameters

I have a website that uses .htaccess to turn the parameterized URLs into a folder pattern based URL For example : www.example.com?lang=de&cat=mycategory becomes www.example.com/de/mycategory ...
1
vote
1answer
70 views

Non existent image files are not being handled by PHP as they should due to ngnix configuration

I am currently building a web application. In order for it to work properly I wrote this rule: location / { if (!-e $request_filename) { expires 168h; add_header Pragma public; ...