|
|||
|
Hi There,
I have a (hopefully) simple problem but i have no clue how to solve it. I have over 100 redirects in Cpanel using subdomains. I am moving hosting companies - but how do I get my redirects? The only way I can think of is Copy and paste. Seems kind of dumb - if anybody can get me started on how to export into a txt file I would appreciate it. I have tried google, I have tried the FAQ and couldn't find an answer. All help would be appreciated. Zale Last edited by Infopro; 06-15-2009 at 10:32 PM. |
|
|||
|
Quote:
I did check out the .htaccess files - but I have over 100 redirects. I figured since cpanel displayed them, allowed me to search them, then - they must be stored somewhere. I am certain cpanel doesn't scan the .htaccess files each time. They must be in some database somewhere. I looked using phpmyadmin, but couldn't t find anything that made sense to me. (but maybe I didn't know where to look) I sort looked around in data files but couldn't find anything. Its displayed and searchable, that means it stored..... But, I have no idea where cpanel stores its data for retreivale |
|
||||
|
Quote:
cPanel does check the .htaccess file each time you open the redirects section of your cPanel. Want to double check? Rename your .htaccess file to .htaccess.BAK then save. Then check the redirects section again. Note, by renaming that .htaccess file ALL redirects will break/no longer work. |
|
|||
|
YUCH!!
I sort of solved the problem, I used the rediirects display - set it to 500 Then used a Screen copy Pasted into notepad - format was all messed - but data was there then uparrow - delete uparrow - delete etc etc etc. Pain - but it worked and hopefully I didn't delete something important by accident. Now I have it in a file - my new hosting company said they have a way of using the file to auto create it. They have something like cpanel called SiteManager I don't know if its custom or a packaged product. Thanks for everyone's help. |
|
|||
|
Yes - I could.
But that would mean distributing 100+ files around the system. I am incredibly lazy and it would be massively prone to error. Also, the redirects are intended as simple ways to let users access content. For example - my content are is in Wordpress, I make extensive use of categories to organize things. I have one called 77 Guerrilla Job Hunting tips. The URL is: 77 Guerrilla Job Hunting Tips | Zale Tabakman but I tell the world to go to 77 Guerrilla Job Hunting Tips | Zale Tabakman for 77 Guerrilla Job Hunting Tips | Zale Tabakman I also have affiliate programs that I link out to. Why should the poor reader need to see complicated URL's when they can see simple things like: Guerrilla Job Search for Guerrilla Job Search I think its more effective than using TinyUrl or any of its competitors. And since they are really redirects - I don't actually need or want the file directories. Zale |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to use httpd alias to show a robots.txt file only if robots.txt does not exist. | nat | cPanel and WHM Discussions | 0 | 06-25-2007 11:35 AM |
| my cpanel server export .txt file all domain and all email users ? | Axell35 | cPanel Newbies | 0 | 06-14-2007 11:45 AM |
| export all email address to txt file. ??? | Axell35 | 0 | 06-11-2007 08:12 PM | |
| i dont know how can i open file txt in SSH | A_1 | cPanel and WHM Discussions | 6 | 01-08-2007 09:22 AM |
| file[/home/.cpan/sources/authors/01mailrc.txt] doesn't match | jambalaia | cPanel and WHM Discussions | 1 | 01-13-2006 06:03 AM |