這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Simple Htaccess Redirects

外掛說明

This plugin was created to make it easier for users to write redirection rules for their site. It generates the correct redirect code to match the user’s request and places it into the .htaccess file. This plugin has a button that uses a 3rd party validator to give the user confirmation that the .htaccess file is formatted correctly. The 3rd party’s terms of service can be found here. No user data is sent to the 3rd party; only .htaccess file contents. You can contact the 3rd party on their contact page. This 3rd party is a free services created by LexiConn Internet Services Inc.. Their privacy policy can be read here.

螢幕擷圖

  • Plugin Redirect Settings (Version 1.5.6)
  • Plugin Scan Urls (Version 1.5.6)
  • Plugin Expired Headers Settings (Version 1.5.6)

安裝方式

  1. Upload the entire simple-htaccess-redirects folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the \’Plugins\’ menu in WordPress
  3. Add redirects on Redirect Settings Page in admin menu

常見問題集

Why should I use your plugin?

This plugin provides an easy way to add new rules into your .htaccess file so you can make changes on the WordPress backend rather downloading, editing, and re-uploading the file.

How Do I Add A Redirect Rule?

As of version 1.5.8, you have to use the add url in the input fields. You must have the “Old Url” input have a page slug (/old-url) and the “New Url” the full url of the redirect (http//your-domain.com/new-url). Once you have the url in the correct areas, make sure to click the checkbox of the rule you are adding and hit save!

How Does The Scan Url Tab Scan My Site?

It scans your pages for all embeded links and puts them into a csv file that you can download. Any page that isn’t linked on the front end wont show up in this scan.

What will happen to my code that is already there?

Nothing! This plugin makes sure to add the new rules to the bottom of the file and will not rewrite the code that is already there.

Does the 404 affect my htaccess file?

The 404 redirect rule was implemented in a way that it doesn’t even touch the .htaccess file. Instead it uses WordPress functions to use a custom link instead of going to the 404 error page.

What does the “Add this Redirect rule” work?

The “Add this Redirect” option must be selected when you click Save Changes to publish to the .htaccess file. It will add the correct code to the bottom of the file without deleting anything.

What does the “HTTP Status” mean?

HTTP Status will tell you the status of the path you gave the plugin so you can confirm that it is a valid path.

What does “Validate File” do?

As of version 1.0 Validate File opens a popular validator and submits the .htaccess file contents into their website for validation. Their Terms of Service can be found here.

What if I made a mistake?

The plugin makes sure the outputted code is valid, so a mistake may redirect people to the wrong place. Always double check before saving the changes! If you make a mistake, there is always the “Reset .htaccess file” button that will set your file back to default. Make sure to remove the redirect rule as well.

What if I want to delete a redirect rule?

As of version 1.5.8, go to the “Active Redirects” page and click on the checkbox of the redirect you want to remove. This does not remove your htaccess code but only the redirect.

Are my redirect rules saved anywhere else?

All the rules you create are also submitted into the log.txt file in the assets folder so you have a back up of the rules of the .htaccess just in case something goes wrong.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Simple Htaccess Redirects〉的開發相關工作。

參與者

將〈Simple Htaccess Redirects〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.5.8

  • Added A Active Redirects Page
  • Improved Redirection System
  • Bug Fixes

1.5.7

  • Added A 404 Capture Page

1.5.6

  • Restyled Admin section
  • Bug Fixes

1.5.5

  • CSV Download Bug Fixes

1.5.4

  • Scan Site Bug Fixes
  • Implemented CSV Download Button

1.5.3

  • Added A Scan Site Url Tab

1.5.2

  • Reordered settings link in plugin list

1.5.1

  • Fixed redirection issues

1.4.1

  • Fixed some spacing bugs

1.4

  • Content updates
  • Implemented a reset link on deactivation

1.3

  • Upgraded the reset button

1.2

  • Implemented a way to force https

1.1

  • Implemented a reset file button

1.0

  • Initial Release