dcsimg
www.webdeveloper.com
Results 1 to 9 of 9

Thread: What is the best way to make clean-looking, simple links for your website?

  1. #1
    Join Date
    May 2009
    Location
    Rochester, NY
    Posts
    372

    Question What is the best way to make clean-looking, simple links for your website?

    I have no idea how to describe this or look it up, but I have spent years looking for the answer. I'm hoping people here can help.

    When I make websites, I have to make pages which end up at locations like example.com/pages.html, or example.com/book.php. I could also use PHP and make pages like example.com/?p=questions, but even that's a little annoying. What I'd like to do is write clean URLs without a lot of extra stuff, like example.com/pages, example.com/book, example.com/questions. How can I do this?

    I know I can do things like create a series of folders in my hosting environment with separate pages, but I'm hoping to take a simpler approach. This can get cumbersome, especially with larger sites.

    What's the best way to do this?

    Also, what is this called?

    Thanks,
    Multi

  2. #2
    Join Date
    Mar 2014
    Posts
    10
    You could get clean urls either through using a CMS (like wordpress, joomla, etc.) or framework, or directly using php and mod_rewrite module.

    Take a look at this for more info on the direct approach: http://stackoverflow.com/questions/1...writing-in-php

  3. #3
    Join Date
    May 2009
    Location
    Rochester, NY
    Posts
    372
    MOD_REWRITE! Ok, that must be what it's called. Looking it it, it seems to be my solution. Geez, I spent so long looking for a solution. Thank you!

    And yes, I know Wordpress and Joomla can do it, but I'm looking to build from scratch and also know the technical complexities that allow those programs to do it.

    Apparently this only works on an Apache server. That works for me. Are there any comprehensive, built-in scripts for this? I could copy the one on this site but I imagine it goes far beyond this.

    Thanks!

    Multi

  4. #4
    Join Date
    Mar 2014
    Posts
    7

  5. #5
    Join Date
    Mar 2014
    Posts
    7
    oops, just read my post. Apparently I cannot find where to edit my post so here
    http://stackoverflow.com/questions/1...iting-with-php

  6. #6
    Join Date
    Apr 2014
    Location
    Saudi Arabia
    Posts
    42
    You can get clean URL through joomla or wordpress or blogger CMS.

  7. #7
    Join Date
    Feb 2014
    Location
    Dubai, UAE
    Posts
    154
    Content management system would give you clean urls for example wordpress, because i use wordpress that's why i can tell you.


    SEO Dubai
    Last edited by kiwistech; 04-17-2014 at 02:05 AM.

  8. #8
    Join Date
    Apr 2014
    Location
    Indonesia
    Posts
    3
    Unfortunately, I happened to use WordPress.



    Jasa Pembuatan Website | Jasa Pembuatan Website Sekolah

  9. #9
    Join Date
    Mar 2014
    Location
    United Kingdom
    Posts
    68
    CMS like wordpress or joomla have clean and simple link structure.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles