Announcement Announcement Module
Collapse

myhosting.com Forum Guidelines

Welcome to the myhosting.com Forums! The purpose of this forum is to allow you to discuss topics relating to hosting and topics of interest with other myhosting.com Customers. The primary focus should relate to issues not generally included in our Wiki or Control Panel, or information not provided by our Customer Support Team. Some examples include programming and coding support, web site design ideas and SEO practices.

The forum is not meant as a replacement to our Wiki or Customer Support. We highly recommend searching our Wiki before posting on the forum. Also, if you have a question for our Customer Support team, please contact them as you would normally.

We ask that if you have any complaints or questions relating specifically to your account, that you address them to our Customer Support department. Do not post personal account information such as passwords or other sensitive and private information the forum, as this type of information is best kept secret. Also, please be respectful of other users and refrain from defamatory comments or use of coarse language.

We will visit the forum from time to time, and contribute to various topics. We reserve the right to delete any posts which are deemed offensive or against the spirit of the forum. Any spamming or illegal activity will not be tolerated. We also reserve the right to block any user who violates these guidelines.

To get started, we welcome you to sign up at our User Management site. Any account created there will have access to these forums, our Wiki, our Ideas site and commenting permission on our Status Blog.
See more
See less
Mod Rewrite / htaccess Troubles Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Mod Rewrite / htaccess Troubles

    greetings!

    i'm attempting (again) to establish clean urls on my pages.
    i'm working with a software/template called indexhibit (http://www.indexhibit.org)
    to develop/design my site. their advice is as follows to establish clean urls:

    What is required for Clean URL's?

    Your server needs to have a server (Apache) technology called "mod_rewrite" properly setup and enabled for your account. If you have any question whether you have this or not you should ask your webshot. Or, you might simply try to the following instructions to see if clean url's will work on your site.

    How to Enable Clean URL's

    - rename htaccess to .htaccess (with the dot)
    - in the /ndxz-studio/defaults.php file change:
    define('MODREWRITE', false);

    To:
    define('MODREWRITE', true);


    when i change my htaccess file to .htaccess and changed the defaults.php file to read
    'true' instead of 'false', it gives me clean urls but messes up the style of my pages.
    (the homepage however doesn't seem to be affected by this). so i'm not sure how
    to remedy this.

    i tried changing the htaccess file, adding in 'Options +FollowSymlinks' like those who use
    GoDaddy have to do. but this makes my content disappear
    or inaccessible.

    can anyone give me a little help or advice as to what to
    try next?

    thanks very much, as always!!

    joel
    joelwanek.com

  • #2
    Re: Mod Rewrite / htaccess Troubles

    does anyone moderate these forums?

    Comment


    • #3
      Re: Mod Rewrite / htaccess Troubles

      Hi Joel,

      Sorry for the delay in replying. I see your stylesheet is loading properly now, but your URLs are like:

      yoursite.com/index.php?/dir/subdir etc

      What change did you make? Perhaps you can post the contents of your .htaccess file?

      Comment


      • #4
        hi tim... thanks very much for the reply. obviously its been awhile :-) hope you still can be of assistance. i continually give up on this matter and then retry it several months later to no avail. so, any help would be much appreciated.

        here's my .htaccess file:

        RewriteEngine on
        RewriteCond %{REQUEST_FILENAME} -f [OR]
        RewriteCond %{REQUEST_FILENAME} -d
        RewriteBase /
        RewriteRule ^(.+) - [PT,L]
        RewriteRule ^(.+) index.php

        i think i need to add a line or something to apply these changes to all of my pages (my joelwanek.com/index.php page looks just fine - no style changes appear). so, any thoughts?
        thanks!

        joel

        Comment

        Working...
        X