[wp-hackers] absolute URLs in plug-ins and custom types

Mika A Epstein ipstenu at ipstenu.org
Wed Jul 4 21:48:02 UTC 2012


Yes, you can edit the folder :)

but think how much safer it is to search for domain.com/test vs /test/.... The more data you include in the search, the smaller the chance of 'Oh god, I broke the link to cia.com/test/foobar!' later ;)

----
Mika A Epstein (aka Ipstenu)
http://ipstenu.org | http://halfelf.org

On 4 Jul 2012, at 3:18:21PM, Erik Martines Sanches wrote:

> Bill Erickson skrev 2012-07-04 20:32:
>> And even if you know your environment well and build your specific tool to
>> use relative URLs, WordPress core uses absolute URLs for everything so
>> you'd need to update those anyway (ex: any images inserted into posts).
> So moving from a subdirectory (www.domain.com/test) to the top level (www.domain.com), when you say update images inserted into posts, I take it this can be done in the phpMyadmin and not have to reupload, right? (Hope so!)
> Erik
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers



More information about the wp-hackers mailing list