內容簡介
WordPress 預設會使用本地域名儲存內容。如果你想在一個域名上開發部落格,卻希望將部落格上線至另一個域名,你需要取代資料庫中所有的網址。
相對網址(Relative URLs)能快速地將絕對網址換成相對網址。你可以毫不憂慮地從 localhost 轉移到另一個域名,而本外掛也不會影響資料庫中的連結,而讓你可以在分區、子網域或子目錄等位置進行開發。
注意:這個外掛只推薦在本地端使用。
注意:這個外掛可能會跟伺服器快取服務(例如 nginx 或 Varnish)產生衝突。
優點
在另一個域名上線,同時在別的域名上開發
能夠輕鬆地將部落格從一個目錄移至另一個目錄
不會更改資料庫中的連結
可以在 HTTP 和 HTTPS 網站之間切換
從一個域名備份生產環境,並在另一個域名上進行測試
特色
移除內部連結的域名
移除位於伺服器上的圖片來源的域名
不會取代資料庫中的網址
外掛標籤
開發者團隊
原文外掛簡介
By default, WordPress saves the content with local domain. If you want develop your blog in one domain and go live in another, you need replace all URLs in the database.
Relative URLs replace all absolute URLs with relative URLs quickly. You can move from localhost to live domain with minimal effort, but this plugin never change links in database, so you can develop in stanging area or in a subdomain o in a sub-directory without worrying to replace URLs in the content.
Notice: This plugin SHOULD be used for local development only.
Notice: This plugin may conflict with server based cache services (like nginx or Varnish).
Benefits
Go live in one domain, develop in another
Move from one directory to another with minimal effort
Never change links in database
Switch between HTTP and HTTPS sites
Backup a production site from one domain, restore for testing at another domain
Features
Removes the domain name on links for internal links
Removes the domain name from on image sources for images located in the server
Dont’t replace URLs in database
