Git Product home page Git Product logo

hypeseo's Introduction

SEO Tools for Elgg

Elgg 2.2

Features

  • Customize any page URL to suit your SEO needs
  • Autogenerate SEF URLs for all site entities with predefined rewrite patterns
  • Add custom title, description, keywords and other meta tags to any page
  • Integrates with hypeDiscovery to populate open graph metatags
  • sitemap.xml generator

Dashboard Patterns

Notes

  • Choose unique SEF paths to avoid clashes
  • Once enabled, use autogen tool in plugin settings to autogenerate SEF urls for your entities
  • Extras menu contains a link to page SEO editor

Performance

  • For best performance, enable and configure memcache on your Elgg installation

Acknowledgements

Initial development of the plugin was sponsored by Bodyology Virtual Campus http://bodyologymassagecourses.co.uk/

hypeseo's People

Contributors

hypejunction avatar oseg avatar

Stargazers

 avatar

Watchers

 avatar  avatar

hypeseo's Issues

Sitemap Generation fails

Dear Ismayil,
I have done everything as explained in the readme file everything works but the Sitemap generation tool alone is not it takes like 5 mins then it takes me to the error page "Page not Found". I am using Elgg 2.2.4 the latest hypeseo plugin.

Thank you
Meril

Missing information in generated index sitemap

Title: Missing information in generated index sitemap

Context:

  • Clean install of elgg v2.3.3 at location: localhost/elgg-2.3.3/
  • Install of hypeseo plugin v1.0.2 from released package
  • In hypeseo settings, "enable inline rewrites" set to "No" and "Enable redirects" set to "No"

Scenario:

  • Go in admin seo sitemap page (localhost/elgg-2.3.3/admin/seo/sitemap), add click on "Generate sitemap" button
  • Have a look at the generated sitemap index: localhost/elgg-2.3.3/sitemap.xml
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <sitemap>
    <lastmod>2017-07-25</lastmod>
  </sitemap>
  <sitemap>
    <lastmod>2017-07-25</lastmod>
  </sitemap>
  <sitemap>
    <lastmod>2017-07-25</lastmod>
  </sitemap>
</sitemapindex>

I had a quick look in the hypeo/view/default/seo/sitemap/sitemapindex.php view, and I think there is a small bug at line 14
$tags = elgg_format_element($tag, [], htmlentities($value, ENT_QUOTES, 'UTF-8')) . PHP_EOL;
Suggested fix:
$tags .= elgg_format_element($tag, [], htmlentities($value, ENT_QUOTES, 'UTF-8')) . PHP_EOL;

With the above sugested fix, the new generated sitemap index looks better:

<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <sitemap>
    <loc>
      http://localhost/elgg-2.3.3/seo/sitemaps/static.xml
    </loc>
    <lastmod>2017-07-25</lastmod>
  </sitemap>
  <sitemap>
    <loc>
      http://localhost/elgg-2.3.3/seo/sitemaps/group1.xml
    </loc>
    <lastmod>2017-07-25</lastmod>
  </sitemap>
  <sitemap>
    <loc>http://localhost/elgg-2.3.3/seo/sitemaps/user1.xml</loc>
    <lastmod>2017-07-25</lastmod>
  </sitemap>
</sitemapindex>

What do you think?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.