How to Separate Blog, FAQ, & Portfolio URLs on Avada WordPress Theme
Organizing your website’s URL structure is crucial for both user experience and SEO. A common challenge for WordPress users, especially those using robust themes like Avada, is separating different content types.
By default, setting a global permalink structure like /blog/%postname%/ often forces all content—including FAQs and Portfolio items—into that same directory.
This guide walks you through the exact steps to configure your WordPress website so that your blog posts, FAQs, and portfolio items each have their own distinct, clean URL structures.
The Challenge: Global Permalink Settings
When you navigate to Settings > Permalinks in WordPress and set a custom structure like /blog/%postname%/, you are defining the “front base” for your site. WordPress applies this base to all post types that are configured to use it.
For standard blog posts, this is ideal. However, for Custom Post Types (CPTs) like Avada’s avada_faq and avada_portfolio, this results in URLs like:
- your-site.com/blog/faq/question-name
- your-site.com/blog/portfolio/project-name
This structure can be confusing for visitors and dilutes your SEO efforts by burying important content under a generic “blog” directory.
The Solution: Overriding the “Front Base”
To separate these content types, we need to tell WordPress to ignore the global /blog/ prefix specifically for FAQs and Portfolios. This is done by setting the with_front argument to false for these specific post types.
Since Avada registers these post types internally, we cannot simply edit their registration code. Instead, we use the register_post_type_args filter to modify their settings dynamically before they are finalized.
Step 1: Implement the Code Snippet
The most efficient method is to insert a single code snippet into your functions.php file that targets both the FAQ and Portfolio post types.
- Log in to your WordPress dashboard.
- Navigate to Appearance > Theme File Editor.
- Crucial: Ensure you are editing your Child Theme to prevent losing changes during theme updates. If you don’t have a child theme, create one or use a plugin like Code Snippets (recommended for safety).
- Open the functions.php file and paste the following code at the end of the file (be sure to omit the opening <?php and closing ?> tags):
Step 2: Configure Avada Theme Options
While the code handles the URL logic, you should verify the base slugs in Avada’s settings to ensure they match your desired structure.
Portfolio Settings
- Go to Avada > Global Options (or Theme Options).
- Navigate to Portfolio > General Portfolio.
- Locate the Portfolio Slug field. Ensure it is set to portfolio (or your preferred term like work or projects).
- Note: Do not use a slug that matches an existing Page name.
FAQ Settings
- In the same Global Options menu, look for Extras or Miscellaneous (location may vary slightly by Avada version).
- Find the FAQ Slug field and ensure it is set to faq.
Step 3: Flush Rewrite Rules
After adding the code and verifying settings, you must refresh WordPress’s internal URL rules.
- Go to Settings > Permalinks.
- Scroll to the bottom and click Save Changes.
- You do not need to change any settings here; simply saving triggers the necessary rewrite rules flush.
The Result: A Clean URL Structure
Once implemented, your website will feature a logical, separated architecture:
- Blog Posts: your-site.com/blog/article-title
- Controlled by Settings > Permalinks
- FAQs: your-site.com/faq/question-title
- Controlled by the code snippet (with_front => false)
- Portfolio: your-site.com/portfolio/project-title
- Controlled by the code snippet (with_front => false)
- Static Pages: your-site.com/contact
- Unaffected by post type settings
Critical Post-Implementation Steps
- Set Up 301 Redirects
- If your site is already live and indexed by search engines, your old URLs (e.g., your-site.com/blog/faq/…) may already exist in Google’s index. Changing them without redirection will result in 404 errors and lost SEO ranking.
- Use a plugin like Redirection or Rank Math to create 301 Permanent Redirects from the old URLs to the new ones. This will pass any “link juice” from the old URL to the new one, preserving your search engine visibility.
- Update Internal Links
- Manually check your menus, footer links, and internal content to ensure they point to the new, clean URLs rather than the old /blog/ prefixed versions.
- Resubmit Your Sitemap
- Log in to Google Search Console and resubmit your XML sitemap. This prompts Google to crawl your site and discover the new URL structure more quickly.
By following these steps, you ensure that your WordPress website maintains a professional, organized, and SEO-friendly architecture that clearly distinguishes between your blog content, support resources, and project portfolio.
Conclusion
I hope my article covering how to separate your blog directory, FAQs, & portfolio URLs using the Avada WordPress theme has been helpful to you. I welcome your thoughts, questions or suggestions regarding this article.
You may support my work and future improvements by sending me a tip using your Brave browser or by sending me a one time donation using your credit card.
Let me know if you found any errors within my article or if I may further assist you by answering any additional questions you may have.




