Wikitip of the day!
| 1252761776|%a|agohover |
|
1252761776|%Y|agohover |
Short post today.
When you view a file attached to a Wikidot page, you may notice that the URL in the address bar has changed the domain from wikidot.com to wdfiles.com.
If you are, like myself, one to manually manipulate address bar URLs, you may be annoyed to find that you can't view pages from your wiki if you're in the wdfiles domain. That is, http://james.wdfiles.com/blog:50 will not work.
But of course, it occurred to me that wdfiles is a domain that belongs to Wikidot (duh!), which in theory means we can create a 301 redirect to our site from the wdfiles domain. Well, as off today, theory proven:
|
|
Just a simple two-step process.
λ James Kanjo


Why would you need to do this?
I may be looking at an image: http://jameskanjo.wdfiles.com/local--files/blog:50/custom-domain.png
Then I may want to go directly to where the image is stored, so all I need to do is remove “/local--files” from the URL in the address bar.
λ James Kanjo
Blog | Wikidot Expert | λ and Proud
Web Developer | HTML | CSS | JavaScript
Thanks! Will be implementing this now :)
Shane Smith ★ Wikidot Freelancer (Hire me!)
— Sites: My Website, Personal Blog
— Projects: STE Editor, Wikimated, Wikidot 101 (Video Tutorials), Wikidot SubReddit
Post preview:
Close preview