Jump to content

Recommended Posts

Hmmmdaniel? Doesn't the rewrite rule need to match the whole request uri, as in ^(.*)$? Otherwise it repeats the request uri for every char.. Or has this fever damaged what's left of my brain?

 

The two regexes (.*) and ^(.*)$ are equivalent. Because the star quantifier is greedy, it'll match as much as possible. Then when given a string, it will always have a start, which the caret anchor matches and an end, which the dollar anchor matches.

 

Had you done something like (foo) then it had matched regardless of where foo appeared in the URL and then you would have needed ^ and $ to make sure it's the only thing.

 

sorry. i removed the pointer from my host provider and used the htaccess file , and it doesnt work oddnerdrum.info just is white blank. any more help greatly appreciated. thanks.

 

Look, you need to remove the file in the screenshot and then place the .htaccess file where that index.html file is. I can't tell you where that is. Frankly, I would assume you know more about your setup than I do. Everything I know is the things in this topic.

 

[attachment deleted by admin]

i bought a new account for oddnerdrum.info i got sick of trying the redirect. also \

 

 

hi, i just submitted my site http://oddnerdrum.info to google a week ago. the keywords for it relate to "odd nerdrum". i have a lot of content on him on my index page. and you can see how i linked to other sites here http://www.google.com/#hl=en&q=%22oddnerdrum.info%22&aq=f&aqi=&oq=&fp=b9f14b8456039e.  my other site, http://derekvanderven.com/mainsite.html , that domain has been around for a few years so its second in rank on google for "odd nerdrum" sometimes. i was wondering if and when you think my "oddnerdrum.info" will rank as good as my other page, or what id have to do to get there? any help GREATLY appreciated. thank you. derek

 

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.