silverglade Posted November 7, 2009 Author Share Posted November 7, 2009 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. Quote Link to comment https://forums.phpfreaks.com/topic/180626-is-my-subdomain-getting-ignored-by-google/page/2/#findComment-953280 Share on other sites More sharing options...
448191 Posted November 7, 2009 Share Posted November 7, 2009 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? Quote Link to comment https://forums.phpfreaks.com/topic/180626-is-my-subdomain-getting-ignored-by-google/page/2/#findComment-953283 Share on other sites More sharing options...
Daniel0 Posted November 7, 2009 Share Posted November 7, 2009 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] Quote Link to comment https://forums.phpfreaks.com/topic/180626-is-my-subdomain-getting-ignored-by-google/page/2/#findComment-953291 Share on other sites More sharing options...
448191 Posted November 7, 2009 Share Posted November 7, 2009 Right, that makes sense. Not sure what I was thinking. Quote Link to comment https://forums.phpfreaks.com/topic/180626-is-my-subdomain-getting-ignored-by-google/page/2/#findComment-953296 Share on other sites More sharing options...
silverglade Posted November 8, 2009 Author Share Posted November 8, 2009 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 Quote Link to comment https://forums.phpfreaks.com/topic/180626-is-my-subdomain-getting-ignored-by-google/page/2/#findComment-953726 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.