Jump to content

I need help with my new blog


Ralph
 Share

Recommended Posts

First, I realized that when I used to install PW using Softaculous, my site was always only accessible via www.mysite.com alone without me setting up any redirect but after doing a manual installation, my site is served from both the www and naked versions of the domain. I tried adding some code to the htaccess file as suggested by my hosting provider but that didn't work. How can I set this up without setting up a 301 redirect? I want the traffic to only be to and from the www version of my website for SEO purposes.

The second issue is that I want to add fields for author's pic and profile to every blog post but I can't seem to figure that out. The site profile I downloaded doesn't have those fields. How can I do that?

The third is that I want to be able to add meta description to every page for SEO purposes. Any help with all these will be greatly appreeciated.

I'm not a coder but I'm willing to learn

Link to comment
Share on other sites

15 hours ago, Ralph said:

How can I set this up without setting up a 301 redirect?

301 are totally fine - for ProcessWire and Google. Nothing to worry about. Read next part - as you have almost nothing to do for this. ? 

15 hours ago, Ralph said:

I want the traffic to only be to and from the www version of my website for SEO purposes.

The existing ProcessWire .htaccess file already has this in place. Uncomment two lines and you are ready to go.

  # -----------------------------------------------------------------------------------------------
  # 13. OPTIONAL: Redirect users to the 'www.' version of the site (uncomment to enable).
  # For example: http://processwire.com/ would be redirected to http://www.processwire.com/
  # -----------------------------------------------------------------------------------------------

  # RewriteCond %{HTTP_HOST} !^www\. [NC]
  # RewriteRule ^ http://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
15 hours ago, Ralph said:

I want to add fields for author's pic and profile to every blog post but I can't seem to figure that out.

You can just add those fields to the user template - which can be found in Setup > Templates (after enabling showing system templates). And of course you have to create those fields first - if not already created.

1733074957_2019-05-2515_26_09.thumb.png.f2334679f36ede19db604a4fbb084ef8.png

15 hours ago, Ralph said:

The site profile I downloaded doesn't have those fields. How can I do that?

Setup > Fields

There you can create all kinds of fields. Text, textarea, image, whatever... 

2027607645_2019-05-2515_28_21.thumb.png.3a81379a8b9133f56900855c5f1014f6.png

 

I recommend doing the tutorials available here: https://processwire.com/docs/tutorials/

They will help you to understand ProcessWire. It's absolutely not a waste of time. Even as someone who never worked with ProcessWire, but having some basic knowledge in terms of PHP, can learn ProcessWire within a weekend.

  • Like 3
Link to comment
Share on other sites

On 5/25/2019 at 2:35 PM, wbmnfktr said:

You can just add those fields to the user template - which can be found in Setup > Templates (after enabling showing system templates). And of course you have to create those fields first - if not already created.

Thanks a lot, I'll try that now and see how it goes.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...