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
1 answer

Friendly URLs when using a Record ID for dynamic content

I've read a bit on the matter of friendly urls and I'm a little unsure as to what is better. I currently have my website using a structure of http://www.domain.com/page.php?id=2 I am using the record id to determine the content of the page. My…
d.lanza38
  • 2,525
  • 7
  • 30
  • 52
0
votes
3 answers

PHP includes and POST

I'm developing a website and in my attempt to make friendly URLs without recurring to mod_rewrite (because chances are my client's server doesent allow it), I came up with this system: index.php expects a variable called $seccion, which should…
Nacho
  • 3
  • 3
0
votes
1 answer

Is it possible to get rid of "Index" with ASP.NET FriendlyUrls?

Currently I'm using the (rather) new ASP.NET FriendlyUrls feature in my WebForms .NET 4.5 application to make the URLs look cleaner. What I'm trying to achieve is to even get rid of the "index" since it is the default of a…
Uwe Keim
  • 39,551
  • 56
  • 175
  • 291
0
votes
1 answer

Trying to create friendly URL's but failing?

I am able to create a unique URL http://site.com/pod.php?id=20 I have had 404 errors when trying different methods through php and htaccess to rewrite the URLs. I have different fields in the database which I would like to use in order to construct…
AyeTry
  • 75
  • 3
  • 12
0
votes
1 answer

How to convert a portal URL to its corresponding friendly URL

I have implemented friendly-url successfully for few of my custom portlets and it is working fine. When click-able links are generated, it correctly shows the friendly-url. Now my requirement is that, I need to send this render-URL (say URL01) as a…
Prakash K
  • 11,669
  • 6
  • 51
  • 109
0
votes
1 answer

Still having mod_rewrite problems / .htaccess

I have several rewrite rules in my .htaccess file that all work fine and I want to add a specific case to turn sinaesthesia.co.uk/category/psoriasis into sinaesthesia.co.uk/category.php5?category=psoriasis So I tried: RewriteRule ^(.)category/(.)$…
user97410
  • 714
  • 1
  • 6
  • 22
0
votes
1 answer

Apache mod_rewrite: remove only a specific folder from the url and remove the extension from all the files inside that folder

I've tried some different solutions I've found on the web on my .htaccess file (placed in the root of my website), but I always end up with an "Internal Server Error"... I need a generic rule to remove a specific folder from the URL and the…
stefano1
  • 203
  • 5
  • 14
0
votes
1 answer

friendly url in ZEND - several users

How to create an application where you can use URLs like Facebook? app.dev/username app.dev/username/pictures app.dev/username/info app.dev/username/posts/post_333 app.dev/username/posts/post_333/share The application has other…
0
votes
4 answers

.htaccess 301 redirect from old url to SEO friendly

I have link like this: www.site.com/page.php?p=1 Need to rewrite it to friendly URLs in htaccess RewriteRule ^home$ page.php?p=1 It works but now I have two active links with the same content. Tried to add 301 redirect from old link to new but…
ravenger
  • 23
  • 1
  • 4
0
votes
1 answer

mod_rewrite / friendly URL with Prestashop 1.5.3

I've created 3 custom pages (controller-, php-, and tpl-files) and created entries for SEO & URLs. All custom pages are duplicates at the moment and show the same content. I have created the links for the custom pages in…
user1567896
  • 2,398
  • 2
  • 26
  • 43
0
votes
1 answer

Static (seo friendly) to dynamic url rewrite

Here is my problem... I have a to redirect a link like this: site.com/virtualfolder/some-seo-friendly-keywork to site.com/folder/page.php?id=some-seo-friendly-keyword In site.com there is no real folder "virtualfolder", it is virtual. I have…
0
votes
2 answers

Htaccess file not responding - Internal Server Error 500

I am having trouble with .htaccess file, essentially I am just trying to rewrite the urls to be a bit more user friendly. So what I have for a url currently is something like this: http://diverseevolution.com/index.php?url=about What I want is…
Tom Bird
  • 999
  • 3
  • 17
  • 31
0
votes
2 answers

MODX: I added a resource page and now all my links are broken

A client wanted me to add a page to his Modx website. I am only a Joomla/Wordpress guy but I figured I would take a stab at it. Here were my steps: I clicked "new document", gave the page a template, a name, a parent, then pasted in some dummy text…
DesignGuy702
  • 27
  • 1
  • 7
0
votes
1 answer

New NICE URLs with 301s. How to make them work Together?

I have this old website URL structure: site.com/folder/prod.php?cat=MAIN%20CAT%20&prodid1=123&prodtitle=PROD%20TITLE&subcat=SUB%20CAT and real example will be something…
0
votes
1 answer

Rewritre friendly to old url and redirect old url to friendly

I'm rewritting this http://myweb.com/post/5/title-of-the-post (new url) To http://myweb.com/post.php?id=5 (old url) I have achieved this by: RewriteEngine On #Options +FollowSymLinks RewriteRule ^post/(.+)/(.+) post.php?id=$2 But if I try to…
Toni Michel Caubet
  • 19,333
  • 56
  • 202
  • 378