The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Changed domains, looking for a hack
I changed my domain and I'm looking for a hack that will take all my internal links (i.e. links in a thread that point to another thread on my forum) and change it to the new domain name.
Does something like this exist? |
#2
|
|||
|
|||
Seems like all you need is .htaccess
|
#3
|
|||
|
|||
I don't have access to the old domain.
Is there something I can do on the new one? Can you explain? |
#4
|
|||
|
|||
Oh, you don't have access to the other domain?
You are going to have a problem. You need that. You put an .htaccess file to redirect users, but since you don't have it, you can't do that. You might not be able to do anything. |
#5
|
||||
|
||||
lol if you don't own the older domain now, how can you control it. As said above, you have to park the old domain and with few lines of htaccess rewrites its really easy to do.
|
#6
|
||||
|
||||
Hey guys, his problem is that he needs the posted links (links to other parts of his forum) to update those URL's with the new domain.
MuSuL, you will have to do a search and replace kinda thing, the only possible solution would be to go phpMyAdmin and do it thru there. |
#7
|
|||
|
|||
Quote:
@MuSul, post in the programming section and see if someone will help you write the needed htaccess rewrite rule or post in the paid job forum for a paying job if no one will do it for free. |
#8
|
|||
|
|||
I had gone ahead and edited all 1200 of them. I was thinking on writing a piece of code but it only took 2 hours to do it manually. No biggie.
What would the .htaccess file have looked like? I don't have experience with them. |
#9
|
|||
|
|||
Quote:
PHP Code:
Just edit the above and save it to your desktop as htaccess.txt Then upload this file to your root directory, once there rename it to .htaccess Notice where the dot is and that the .txt has now disappered, thats it |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|