Classic Manual
  • Welcome to RapidWeaver
  • Purchasing RapidWeaver
  • Licensing and Activation
  • Subscription FAQ
  • General FAQ
  • 📖User Manual
    • Installing and Activating RapidWeaver
    • Getting Started with RapidWeaver
    • Project Window
    • Preferences
    • Page Types
      • Blog
      • Contact Form
      • File Sharing
      • HTML
      • iFrame
      • Markdown
      • Offsite Page
      • Photo Album
      • Sitemap
      • Styled Text
    • Publishing
      • Publish to a Web Server
      • Publishing to Your Mac
      • Publishing to Chillidog
      • Multiple Publishing Destinations
      • How to fix Publishing Issues
        • Upload Logs
        • Upload Errors
    • Features
      • Health Check
      • Live Browser Preview
      • Privacy
      • Project Backup
      • Macros (Advanced)
      • Resource Browser
      • Simulator
      • Site Badge
      • Themes
    • Keyboard Shortcuts
    • How to
      • Update License Key in RWC
      • Share Your Project File
      • Upgrade Projects
      • Add Google Analytics
      • Improve Search with SEO
      • Embed a YouTube Video
      • Embed a Vimeo Video
      • Edit an .htaccess File
      • Build an Online Store
      • Edit Your Website Online (CMS)
      • Create a Members Area Using Sitelok
    • Troubleshooting
      • How to fix "Couldn't obtain plugin principle class"
      • How to Diagnose an Issue
      • How to Report a Bug
      • How to Locate Your Addons and Preferences
      • How to Send or Share Your Project (moved)
    • Resources
  • 🧩Addons
    • What are Addons?
    • Premium Themes
      • 🗻Aspen
        • Aspen FAQ
        • Social Icons
        • Aspen Version History
      • 🦸Marvel
        • Marvel FAQ
        • Social Icons
        • Marvel Version History
      • 👑Royale
        • Royale FAQ
        • Social Icons
        • Royale Version History
  • 👷Developers
    • Addon Overview
    • Themes
      • Theme Introduction
      • Theme Syntax Tags
      • Theme.plist Syntax
      • Theme Info.plist
    • Plugins
      • Plugin SDK
    • Marketplace Developer Guide
  • 📁Legal
    • Acknowledgements
    • Subscription Terms of Service
    • Privacy Policy
    • EULA
Powered by GitBook
On this page
  • Redirect Examples
  • What's a 301 redirect?

Was this helpful?

Export as PDF
  1. User Manual
  2. How to

Edit an .htaccess File

Use RapidWeaver's built-in publishing engine to edit files on your web server.

PreviousEmbed a Vimeo VideoNextBuild an Online Store

Last updated 3 years ago

Was this helpful?

To edit a .htaccess file, go to your publishing setup in RapidWeaver, and towards the bottom of the panel, you'll see a button named "Edit .htaccess File" — This will search for your .htaccess file on your web server and preset it in a window ready for editing.

From here you can make changes to your .htaccess file, along with adding a comment for the change you are about to make.

You can roll back to a previous .htaccess file by using the Versions" drop-down menu in the editor window.

Redirect Examples

Here's an example of redirecting a page. The following code will redirect users trying to access the "/original-page/" to the "/new-page/".

Redirect 301 /original-page/ /new-page/

If we added the above code to the Realmac Software .htaccess file it would redirect users from this page: https://www.realmacvsoftware.com/original-page/ to this page: https://www.realmacvsoftware.com/new-page/

Redirect with Match

The following example will redirect all subpage URLs from the "/helpdesk/" folder to /support.

RedirectMatch 301 ^/helpdesk(.*)$ /support

What's a 301 redirect?

A 301 redirect is a permanent redirect to the redirected page. 301 refers to the HTTP status code for this type of redirect. In most instances, the 301 redirect is the best method for implementing redirects on a website.

📖
The "Edit .htaccess" button can be found in your Publishing setup.