Questions tagged [friendly-url]

A friendly URL is a website address that does not contain a query string or complex strings in the URI, instead relying on a human-readable, SEO-friendly resource path after the website authority (e.g. https://www.stackoverflow.com/questions/tagged/friendly-url).

A friendly URL is a website address that does not contain a query string, instead relying on a human-readable, SEO-friendly resource path after the website authority (e.g. https://www.stackoverflow.com/questions/tagged/friendly-url).

Most of the time it is achieved with the help of a Rewrite Engine, such as mod_rewrite for Apache or mod_rewrite for Lighttpd. Many content management frameworks have the ability to generate friendly URL's built in.

1221 questions
0
votes
2 answers

Url duplication with Prestashop SEO

I have an e-commerce developed with the CMS Prestashop. Yesterday i have seen in my Webmaster Tools that i had some duplicated URL, like this: www.mysite.com/manufacturers www.mysite.com/it/manufacturers. Where 'it' is the suffix of the default and…
Bellu
  • 2,575
  • 2
  • 22
  • 29
0
votes
1 answer

User friendly urls revelsal

Lets say that I want to show http://example.com/topic/view/topicname/thenameofthetopic direclty as http://example.com/thenameofthetopic So I have achieved that when entering http:// example.com/thenameofthetopic , it redirects you to the…
0
votes
3 answers

Url rewriting mod_rewrite with and without query string

I'm trying to rewrite from domain.com/page/soft-15/android-26/ to page.php?cat=15&os=26 with this code: RewriteRule ^page/([0-9]+)\-([a-zA-Z0-9-]*)/([0-9]+)\-([a-zA-Z0-9-]*)$ page.php?cat=$1&os=$2 I thinks it works fine but, how can i rewrite…
Colas
  • 157
  • 1
  • 2
  • 12
0
votes
1 answer

mod_rewrite fail: .htaccess or server config issue?

The application i'm developing uses a certain file directory structure. Via the use of mod_rewrite and .htaccess files, i manage to have friendly urls for our users. It works fine on my local server, but once on the production server, it fails:…
pixeline
  • 17,669
  • 12
  • 84
  • 109
0
votes
3 answers

ModX Revo: friendly URLs not working

This seems to be a common issue but I have tried all the suggestions and none work. The issue is when I turn on Friendly URLs in ModX Revo all my links get broken (404s). The URLS do appear correct with the alias after them. Heres what I've…
MeltingDog
  • 14,310
  • 43
  • 165
  • 295
0
votes
3 answers

Cleaning Up Query Strings

This is more of an open question. What is your opinion on query strings in a URL? While creating sites in ASP.NET MVC you spend a lot of time thinking about and crafting clean URLs only for them to be shattered the first time you have to use query…
madcapnmckay
  • 15,782
  • 6
  • 61
  • 78
0
votes
1 answer

mod_rewrite for pretty url with uriencoded query strings

ok, so I've tried many things I've found on SO and elsewhere, but I just can't get it to work, always receiving a 404 error code. I'd like to enter this…
K'shin Gendron
  • 1,589
  • 1
  • 12
  • 14
0
votes
1 answer

URL on Windows 2003 Server via shortened name?

I'm a developer so please excuse my ignorance on how to do this: I have access to a Windows 2003 Server where I have some web applications deployed. Instead of users accessing the web applications via some long URLs, how can I shorted the root URL…
user118190
  • 2,139
  • 7
  • 29
  • 45
0
votes
1 answer

mod_rewrite to change words with a dynamic numeric identifier

What I'm trying to do is rewrite a few of the words in my URL from an old project module so that they look applicable to the current project. The URL I am starting with is: http://WEBSITE.com/stories/topic/view/pet_id/6/topic_id/41 What I have in…
Kotoku
  • 15
  • 4
0
votes
2 answers

Friendly URL and 301 redirect

I'm trying to rewrite a URL so that it's user/search engine friendly, then 301 redirect the original URL to the new one. At the moment the posts generate like this: example.com/blog/post.php?s=nice-post But I'd like them to look like…
0
votes
1 answer

How to convert friendly url to original url

I have a URL which has been converted into SEO friendly url using .htaccess.But now i need to find the original url so that i can edit the file and locate it on the web server.The converted friendly url is Is is possible to get back the original url…
hridaynehu
  • 193
  • 1
  • 4
  • 15
0
votes
1 answer

.htaccess make friendly url

I have a problem with making friendly URL. I need to convert url from http://blabla.eu/stats_details?date=01-2012 to http://blabla.eu/stats_details/01-2012. Other Rewrite rules are working properly beside the last one. What is the problem? Here is…
Viktor M.
  • 4,393
  • 9
  • 40
  • 71
0
votes
1 answer

Appending to current URL in ASP.NET MVC

I know that this is probably something easy to implement, but I am having a bit of trouble finding an answer. Similar to how Stackoverflow allows you to continue to drill down into questions using tags, I am trying to implement the same. So, I…
Tommy
  • 39,592
  • 10
  • 90
  • 121
0
votes
3 answers

ASP.NET Routing

I have a small task to do, and figured it would be better to start here than doing it wrong then coming here again. I need to replace my URLs with a more friendly format as the following: Current: www.MySite.com/default.aspx?userID=XX I want it the…
Maen
  • 1,030
  • 7
  • 19
  • 33
0
votes
1 answer

Rewrite URL and permanently redirect to new URL

I've just spent the last 2 hours trawling through Google and the Stackoverflow archives to see if I could find an answer to my question and instead of finding nothing, I've found too much! So unfortunately I'm having to add to the mountain of 301…
Martin
  • 351
  • 2
  • 8
  • 17