Jump to content

Masca

Members
  • Posts

    18
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

Masca's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hi. Sorry, I've been away from the PC for the last week. No, the 8 other domains are registered elsewhere. I don't currently have any hosting with them, and only pay for the domain registration renewals. I might move my main domain and hosting later this summer (so all of them could then be together), but I would like a solution in the meantime if possible. Thanks again for your continue help ignace.
  2. Yes, unfortunately they are hosted on a separate shared server. Thanks.
  3. Many thanks for your replies ignace and Daniel0. My main domain is hosted on a shared server. Do I still have an NS specific to my domain? I've looked at my control panel, and the A record ends with 100, therefore suggesting that maybe it's used for more than one domain? Sorry, I'm not very familiar with DNS. Thanks again.
  4. Hi. I have 9 domains, but only 1 hosting account/website (sadly I really can't justify the expense of a hosting account for each domain, unless someone can recommend a REALLY cheap place where I can simply host 8 additional .htaccess files!). I would like all of the extra domains to be redirected to my main domain (just to give them a reason for existing really!) with 301 redirects for SEO reasons. However, sadly my domain host only offers 302 redirects. What effect would it have on search engines if I redirect all of my extra domains to a file such as www.mymaindomain.com/redirect.php which simply contains a 301 php header redirect and nothing else? Would I still risk being penalised for duplicate content due to the fact the the redirect from my domain host initially results in an HTTP status code of 'HTTP/1.1 302 Found' before going to a status code of 'HTTP/1.1 301 Moved Permanently', or would search engines treat this as a valid 301 redirect? Thank you! Any advice is much appreciated.
  5. cags, thank you SO much! I can't tell you how long that's been causing me problems! It's now working perfectly. Thanks again!
  6. This is my current effort ('that' in my original post should always be 4 digits, e.g.: 1234): RewriteRule ^this_page.php\?this=([0-9]+)$ another_page.php?this=$1 [R=301,L] Where am I going wrong please!?
  7. Hi! I have searched and searched, and I cannot find a solution to what I think should be a very simple redirect. I need to permanently redirect: www.domain.com/this_page.php?this=that to: www.domain.com/another_page.php?this=that However, all my attempts result in a 404. I feel so stupid :-( Please help! TIA!
  8. Thank you - that did it! It was the double $ (i.e.: $$row) that caught me out. Thanks again, and thanks to the other posters too.
  9. Hi. I would be extremely grateful for some help with an array. I have searched for the answer, but I can't find an example where the array looks quite like mine. Sadly, I think I'm just being a bit think...!!! Anyway, my array, which has been created as a result of a MySQL query, when printed (print_r) looks like this: Array ( [type] => type1 [count] => 10 ) Array ( [type] => type2 [count] => 20 ) I need to create two variables: $type1=10 and $type2=20. How can I do this? Thank you very much!
  10. phpnoobie9 thank you for your reply. It is my understanding that you cannot do a 301 redirect via a meta tag, and therefore this option is not good for SEO. If I am wrong, please do let me know.
  11. Hi! Please help! I apologise if I am posting this question in the wrong place. I recently fell for a 'Someone is trying to register some domains which are very similar to yours...' scam - stupid I know :-(. However, I didn't register the threatened domains with the scammer, but with 123-Reg, so at least the scammer made no money out of me! I now wish to redirect the new domains (there are 8 of them, all very similar to my main domain) to my main domain but it would seem that this is not as simple as I hoped it might be. I have done a lot of research, and from a SEO point of view, it would seem that a 301 redirect is the only way to go (anyone disagree?). The problem is that 123-Reg do not support 301 redirects (their redirects are 302's). 123-Reg have suggested that I change the nameservers to point to someone who does support 301 redirects. I am a newbie when it comes to domain configuration and I am not at all sure whether this is the right solution to the problem, how to go about doing it, or which new nameservers to use - can anyone offer any advice, please? My main domain is hosted with Webfusion (linux, php, mysql), if this makes any difference. The other options, as far as I see it, are: 1 - To ignore the new domains completely, which seems a shame since I have now paid for them! If I do this, is there any way this could affect the search engine ranking of my main domain? 2 - To move the domains to someone who supports 301 redirect within their control panel. Can anyone recommend a domain host that allows this? Or, perhaps there is another solution that I am not seeing? Thank you! Any advice will be very gratefully received.
  12. I have what is quite probably a stupid question, but I would like some reassurance please! I have a MySQL database. My website retrieves data from a couple of tables in this database, but nothing is ever written back to the database via the website (I have no online forms). My question is, is the data that I place in other tables within the database safe from being viewed by hackers? The information in these 'private' tables is only for my own use - I simply wish to use the database as a storage mechanism. However, the data is client sensitive, and I need to be sure that a hacker could not access it. Is the data safe from hackers purely by the fact that the website code makes no reference to these tables? If not, is there something else I can do to ensure that the data cannot be viewed by anyone other than me (via Phpmyadmin)? TIA!
  13. Hi! Please help! I have two odd problems with my RewriteRules which I just do not seem to be able to resolve: PROBLEM 1: I want to add a trailing slash to a url such as test/1234 (therefore rewriting it to test/1234/). My RewriteRule rule is: RewriteRule ^(.*)([0-9]{4})$ $1$2/ [R] but, the last slash in the rule is currently being ignored. However, the following: RewriteRule ^(.*)([0-9]{4})$ $1$2// [R] results in test/1234// using the above exmaple. Why is this? PROBLEM 2: Why does (a) below work, but (b) below not work? I would like to use (b). (a) RewriteRule ^foo-bar/([A-Za-z]+)/$ foobar.php?type=$1 [L] - working (b) RewriteRule ^foobar/([A-Za-z]+)/$ foobar.php?type=$1 [L] - not working The only difference is the hyphen in (a). TIA
  14. Thanks frost110, but sadly that doesn't seem to work. If I echo $url after declaring $ref (e.g.: $ref = 1234;), the result is just '0'.
×
×
  • 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.