Attention WP guru - PR3 on missing attachment_id ?
#1
Posted 10 February 2012 - 01:58
Ive got a Wordpress installation and noticed there is PR3 on one of the URL's that doesnt exist no more.
The URL in question is on the following url - wwww.mydomain.com/?attachment_id=22222
At the moment it is 301 redirected to the home page but I don't want to waste the PR3 of the page.
Is it possible to create a pdf and give this the id via the phpmyadmin panel? ie. wwww.mydomain.com/?attachment_id=22222 (pointing to the pdf)
Any thoughts?
#2
Posted 10 February 2012 - 02:18
Do a 301 .htaccess redirect from the attatchment page to the PDF
Thanks
#3
Posted 10 February 2012 - 03:20
Would the 301 redirect pass more link juice than recreating the url?
Also if the url does not longer exist will big G not just deindex it next time it comes to check the site?
Edited by citrus, 10 February 2012 - 08:20.
#4
Posted 15 February 2012 - 19:32
404 Redirection
This will automatically redirect this and all other non existing links to your site to your homepage.
Edited by Steven_ucf, 15 February 2012 - 19:32.
#5
Posted 16 February 2012 - 04:34
citrus, on 10 February 2012 - 03:20, said:
Would the 301 redirect pass more link juice than recreating the url?
Also if the url does not longer exist will big G not just deindex it next time it comes to check the site?
Doing the 301 is not better but usually easier. The 301 will tell Google to skip the original page and send all links and traffic to the new page.
Steven_ucf, on 15 February 2012 - 19:32, said:
404 Redirection
This will automatically redirect this and all other non existing links to your site to your homepage.
Except the OP very clearly stated he did not want to waste the inner page with the PR buy doing this.
#6
Posted 16 February 2012 - 04:56
ARVolund, on 16 February 2012 - 04:34, said:
Except the OP very clearly stated he did not want to waste the inner page with the PR buy doing this.
Any ideas ARVolund ?
I assume this can be done via phpmyamin in the DB but my I am unsure how, maybe Terry Kyle can shine some light on this?
#7
Posted 16 February 2012 - 07:40
citrus, on 16 February 2012 - 04:56, said:
I assume this can be done via phpmyamin in the DB but my I am unsure how, maybe Terry Kyle can shine some light on this?
not understanding the question? How to do the 301?
if you have cpanel you can set it there, if you have a bunch of them to do you can get a plugin called redirection which makes them easy to setup and keeps stats on them as well so you can see if any of your redirects actually get any traffic.
or you can just do it manually via your .htaccess file.
#8
Posted 16 February 2012 - 08:12
ARVolund, on 16 February 2012 - 07:40, said:
Sorry for not clarifying. I meant to recreate the URL in question wwww.mydomain.com/?attachment_id=22222 so it is a "real" location on the site with PR. i was assuming that this would be able to be done by directly editing the DB
#9
Posted 16 February 2012 - 09:18
citrus, on 16 February 2012 - 08:12, said:
Not sure that I have ever done it but it might work.
Create a page and then go into the database and go to the posts table find the post and edit the url.
Actually an easy attempt so if it does not work you are not out anything but a few minutes time.
The only thing is you may have to edit additional field somewhere as WP tends to have numbers in different areas showing relationships like the category. I seem to remember trying to do something manually and actually had to make three changes instead of the one I was planing on.
Let me know how it goes.
#10
Posted 16 February 2012 - 11:09
Also tagged with wordpress, pagerank, attachment_id
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users














