🚨 6 must-dos while editing an .htaccess file


πŸš€ Psst... Here's the truth:

It's not enough to send your recommendations to developers and call it a day. They won't implement any of your smart ideas (sad, right?)

What you need to do instead is to start speaking the same language with developers (and it does not = becoming one πŸ˜‰).

This is the only way to get your SEO recommendations implemented.

I created the BRIDGE framework to help you with that. And I teach it inside my short but impactful GSI course:

​Check out the Get SEO Implemented course>>​

Let’s talk about the almighty .htaccess (most SEOs avoid).

The .htaccess file configures how your Apache-based web server operates.

You can set up site-wide (like www to non-www) and individual (like Page A to Page B) redirects there.

​

Note:

Never EVER edit .htaccess directly in your CMS (even if plugins give you this option). Especially if you don't have FTP access to revert the changes in case any error occurs.​
​

The .htaccess file rules to NEVER break:

​

  • Make a backup of the website installation before accessing .htaccess
  • Always download the initial .htaccess file before editing it. Save its unedited copy if you need to revert your changes quickly.
  • Make sure that the .htaccess file is saved in the right format and that no invisible characters are added to it.
  • Before uploading your edited .htaccess to the server, run it through a validator (this will help to identify if there are any special characters which are not directly seen in the file)
  • If everything is OK, upload the updated file to the root folder, replacing the old one
  • Check the website in different browsers to make sure it works (and not just cached).

Have you ever edited an .htaccess file? Any stories to share? Let me know.

​

Grab this free resource πŸ‘‡

6 must-dos while editing an .htaccess file

Download a free PDF with a copy of this email, so it's easy for you to get back to it when you need (no signup required) πŸ‘‡πŸ‘‡πŸ‘‡

​

Smart SEO Newsletter

I'll help you trade an imposter syndrome for a technical SEO superpower. My mission is to break down and simplify complex technical SEO things so that you can understand and use them to advance your SEO career.

Read more from Smart SEO Newsletter

The most valuable lesson I learnt is that I can be a genius, but if I can't communicate in ways where people can understand and digest, I'm no different than a sitting fool. Zafran Zaba, Lead SEO Strategist This is part of the Tech SEO Pro course testimonial I received the other day. And I felt inspired. It reminded me why I created the course and have been sharing so much information through my free newsletters and LinkedIn posts: 😎 Solid expertise + 🀝 proper communication = πŸ† win-win Zafran...

This is not your typical "AI tools and secrets for tech SEOs" post. Because the tools and secrets are secondary. The first thing is your expertise. I know, it can be an unpopular opinion. But hear me out. Every day, there's a new post on LinkedIn about "that great new AI tool for technical SEOs". It gets overwhelming as you already have a list of AI tools to try, and you never have time to get to it. So you add that another tool to your list, hoping one day you'll have time to explore it....

3 redirect mistakes that can cost you traffic

πŸš€ A HUGE announcement! You can now get Tech SEO Pro for just $297 😍 We made it as affordable as possible, so now there's a Core package that includes 5 out of 13 modules. You will also get a certificate in the end. It's a great way to start your journey to your technical SEO confidence 😎 Grab your spot in Tech SEO Pro now>> Redirects are a great tool that helps you direct search engines and users to the right pages. But like any tool, if used incorrectly, redirects can be harmful. Here are 3...